uboot-d1: define default BUILD_SUBTARGET
authorTianling Shen <cnsztl@immortalwrt.org>
Sat, 13 Apr 2024 05:04:58 +0000 (13:04 +0800)
committerRobert Marko <robimarko@gmail.com>
Sat, 13 Apr 2024 11:41:41 +0000 (13:41 +0200)
As commit 3ce1e4c3d3da ("d1: define subtarget specifically") added the
'generic' subtarget, without 'BUILD_SUBTARGET' the correspond U-Boot
package will be no longer selected automatically.

Fixes: 3ce1e4c3d3da ("d1: define subtarget specifically")
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
package/boot/uboot-d1/Makefile

index 610dc5b49856dc4ea9ca334bc8b01c1803e36a7a..083a219baf6fab6d03a421084a3b269564708fc2 100644 (file)
@@ -19,6 +19,7 @@ include $(INCLUDE_DIR)/package.mk
 
 define U-Boot/Default
   BUILD_TARGET:=d1
+  BUILD_SUBTARGET:=generic
   UBOOT_IMAGE:=u-boot-sunxi-with-spl.bin
   UENV:=default
   DTS_DIR:=arch/riscv/dts