Signed-off-by: Stefan Roese <[EMAIL PROTECTED]>
---
 Makefile |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Makefile b/Makefile
index a7f886b..28dc51d 100644
--- a/Makefile
+++ b/Makefile
@@ -1180,10 +1180,13 @@ glacier_config: unconfig
                tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
        @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
 
-canyonlands_nand_config:       unconfig
+canyonlands_nand_config \
+glacier_nand_config:   unconfig
        @mkdir -p $(obj)include $(obj)board/amcc/canyonlands
        @mkdir -p $(obj)nand_spl/board/amcc/canyonlands
        @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
+       @echo "#define CONFIG_$$(echo $(subst ,,$(@:_nand_config=)) | \
+               tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
        @$(MKCONFIG) -n $@ -a canyonlands ppc ppc4xx canyonlands amcc
        @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/canyonlands/config.tmp
        @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
-- 
1.5.4.5


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Register now and save $200. Hurry, offer ends at 11:59 p.m., 
Monday, April 7! Use priority code J8TLD2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to