[U-Boot] [PATCH] Fix NAND booting make target

Stefan Roese sr at denx.de
Tue Nov 23 14:32:20 CET 2010


Without this fix, the NAND_SPL target (in nand_spl/) is not built
at all.

Signed-off-by: Stefan Roese <sr at denx.de>
---
 Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index b4aae89..e9797d6 100644
--- a/Makefile
+++ b/Makefile
@@ -287,7 +287,7 @@ LDPPFLAGS += \
 	$(shell $(LD) --version | \
 	  sed -ne 's/GNU ld version \([0-9][0-9]*\)\.\([0-9][0-9]*\).*/-DLD_MAJOR=\1 -DLD_MINOR=\2/p')
 
-ifeq ($(CONFIG_NAND_U_BOOT),y)
+ifeq ($(CONFIG_NAND_U_BOOT),"y")
 NAND_SPL = nand_spl
 U_BOOT_NAND = $(obj)u-boot-nand.bin
 endif
-- 
1.7.3.2



More information about the U-Boot mailing list