Procházet zdrojové kódy

d1: define subtarget specifically

Historically it's possible to leave the `SUBTARGETS` undefined and
automatically fallback to a "generic" subtarget. This however breaks
various downstream scripts which may have expectations around filenames:

While some targets with an explicit generic subtarget contain `generic`
in the filenames of artifacts, implicit "subtargets" don't.

Right now this breaks the CI[1], possibly also scripts using the ImageBuilders.

Do to the D1 target what's done to other target, explicitly define the
"generic" subtarget.

[1]: https://github.com/openwrt/openwrt/actions/runs/8592821105/job/23548273630

Signed-off-by: Paul Spooren <[email protected]>
Paul Spooren před 1 rokem
rodič
revize
3ce1e4c3d3
2 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 1 0
      target/linux/d1/Makefile
  2. 1 0
      target/linux/d1/generic/target.mk

+ 1 - 0
target/linux/d1/Makefile

@@ -9,6 +9,7 @@ BOARD:=d1
 BOARDNAME:=AllWinner D1 RISC-V SoC
 FEATURES:=ext4 squashfs
 KERNELNAME:=Image dtbs
+SUBTARGETS:=generic
 
 KERNEL_PATCHVER:=6.1
 

+ 1 - 0
target/linux/d1/generic/target.mk

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