瀏覽代碼

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 1 年之前
父節點
當前提交
3ce1e4c3d3
共有 2 個文件被更改,包括 2 次插入0 次删除
  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