[U-Boot] [PATCH] Makfile: fix a rule to build u-boot.sb

Masahiro Yamada yamada.m at jp.panasonic.com
Tue Nov 5 09:09:02 CET 2013


Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---

This is a follow-up patch of the series:
First step towards Kbuild: Use Kbuild style makefiles

The series broke the build rule of u-boot.sb

u-boot.sb is never automatically generated.
(u-boot.sb is not added to ALL-y)

That's why I could detect the bug of the former series
by MAKEALL or patman test.

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index a2fd7f6..1f499c5 100644
--- a/Makefile
+++ b/Makefile
@@ -490,7 +490,7 @@ $(obj)u-boot.ais:       $(obj)spl/u-boot-spl.bin $(obj)u-boot.img
 
 
 $(obj)u-boot.sb:       $(obj)u-boot.bin $(obj)spl/u-boot-spl.bin
-		$(MAKE) -C $(SRCTREE)/$(CPUDIR)/$(SOC)/ $(OBJTREE)/u-boot.sb
+		$(MAKE) $(build) $(SRCTREE)/$(CPUDIR)/$(SOC)/ $(OBJTREE)/u-boot.sb
 
 # On x600 (SPEAr600) U-Boot is appended to U-Boot SPL.
 # Both images are created using mkimage (crc etc), so that the ROM
-- 
1.8.3.2



More information about the U-Boot mailing list