[openwrt/openwrt] uboot-d1: define default BUILD_SUBTARGET

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 13 04:41:55 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/0db68a789f08a173fe82b3b99364a8924953f3a1

commit 0db68a789f08a173fe82b3b99364a8924953f3a1
Author: Tianling Shen <cnsztl at immortalwrt.org>
AuthorDate: Sat Apr 13 13:04:58 2024 +0800

    uboot-d1: define default BUILD_SUBTARGET
    
    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 at immortalwrt.org>
---
 package/boot/uboot-d1/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/boot/uboot-d1/Makefile b/package/boot/uboot-d1/Makefile
index 610dc5b498..083a219baf 100644
--- a/package/boot/uboot-d1/Makefile
+++ b/package/boot/uboot-d1/Makefile
@@ -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




More information about the lede-commits mailing list