[LEDE-DEV] [PATCH] uboot-sunxi: fixup making uboot-xxx-boot.scr

Yousong Zhou yszhou4tech at gmail.com
Wed Jan 4 08:27:56 PST 2017


Signed-off-by: Yousong Zhou <yszhou4tech at gmail.com>
---
This patch intends to fixup the commit rewriting uboot-sunxi: "uboot-sunxi: add
uboot-sunxi-all for selecting all other variants"

 package/boot/uboot-sunxi/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/boot/uboot-sunxi/Makefile b/package/boot/uboot-sunxi/Makefile
index d18520d..cb9935b 100644
--- a/package/boot/uboot-sunxi/Makefile
+++ b/package/boot/uboot-sunxi/Makefile
@@ -35,7 +35,7 @@ endef
 define Package/uboot-sunxi-$(1)/install
 	$(CP) $(PKG_BUILD_DIR)/u-boot-sunxi-with-spl.bin \
 		$(KERNEL_BUILD_DIR)/uboot-$(BOARD)-$(1)-u-boot-with-spl.bin
-	mkimage -C none -A arm -T script -d uEnv-$(if $(filter-out pangolin,$(1)),pangolin,default).txt \
+	mkimage -C none -A arm -T script -d uEnv-$(if $(3),$(3),default).txt \
 		$(KERNEL_BUILD_DIR)/uboot-$(BOARD)-$(1)-boot.scr
 endef
 
@@ -59,7 +59,7 @@ $(eval $(call Package/uboot/template,Linksprite_pcDuino,Linksprite pcDuino))
 $(eval $(call Package/uboot/template,Linksprite_pcDuino3,Linksprite pcDuino3))
 $(eval $(call Package/uboot/template,Lamobo_R1,Lamobo R1))
 $(eval $(call Package/uboot/template,orangepi_plus,Orange Pi Plus (H3)))
-$(eval $(call Package/uboot/template,pangolin,Theobroma A31-yQ7 devboard))
+$(eval $(call Package/uboot/template,pangolin,Theobroma A31-yQ7 devboard,pangolin))
 
 define Package/uboot-sunxi-all
   SECTION:=boot
-- 
2.6.4




More information about the Lede-dev mailing list