uml: define "generic" subtarget

UML didn't have a subtarget defined.

While this compiled fine, the patch caused funny filenames
for the generated files to appear:
 - "openwrt-uml--vmlinux"
 - "openwrt-uml--squashfs.img"
 - "openwrt-uml--ext4.img"
 - ...

since "generic" is implied anyway, let's just set it.

Fixes: d997477775bf ("treewide: remove implicit SUBTARGET")
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/15713
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
This commit is contained in:
Christian Lamparter 2024-06-14 17:05:47 +02:00 committed by Christian Marangi
parent 76dabadda8
commit cef30e225d
No known key found for this signature in database
GPG Key ID: AC001D09ADBFEAD7
3 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@ ARCH:=x86_64
BOARD:=uml BOARD:=uml
BOARDNAME:=User Mode Linux BOARDNAME:=User Mode Linux
FEATURES:=audio ext4 rootfs-part squashfs FEATURES:=audio ext4 rootfs-part squashfs
SUBTARGETS:=generic
KERNEL_PATCHVER:=6.1 KERNEL_PATCHVER:=6.1
KERNEL_TESTING_PATCHVER:=6.6 KERNEL_TESTING_PATCHVER:=6.6

View File

@ -20,7 +20,7 @@ In your bin directory you will find a Kernel and an root file system when it's
finished. Just run it like this:- finished. Just run it like this:-
```shell ```shell
./openwrt-uml-vmlinux ubd0=openwrt-uml-squashfs.img ./openwrt-uml-generic-vmlinux ubd0=openwrt-uml-generic-squashfs.img
``` ```
The uml will start and eventually the serial console of the uml will be at your The uml will start and eventually the serial console of the uml will be at your

View File

@ -0,0 +1 @@
BOARDNAME:=Generic