]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xx
[karo-tx-uboot.git] / Makefile
index 463757c43b2cb29f5b7b7a05e0ace8d70a41926c..dd017d6d004a400f02bc2c1396e4ea330f197153 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1801,8 +1801,16 @@ sbc8560_66_config:      unconfig
 stxgp3_config:         unconfig
        @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
 
-stxssa_config:         unconfig
-       @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxssa
+stxssa_config          \
+stxssa_4M_config:      unconfig
+       @mkdir -p $(obj)include
+       @if [ "$(findstring _4M_,$@)" ] ; then \
+               echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
+               echo "... with 4 MiB flash memory" ; \
+       else \
+               >$(obj)include/config.h ; \
+       fi
+       @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa
 
 TQM8540_config         \
 TQM8541_config         \