summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2007-05-31 17:21:22 +0200
committerWolfgang Denk <wd@denx.de>2007-05-31 17:21:22 +0200
commitf61137937da9afb543a55ca44b7178f2feee34cf (patch)
tree16c8f4c40b93ccc4966e08a808d244c66a38fbef /Makefile
parent19bf91f9628f80a55d4f171df71041574882b3d6 (diff)
parentee1529838abbfaa35f14e3ffbeaaba693159475f (diff)
downloadu-boot-imx-f61137937da9afb543a55ca44b7178f2feee34cf.zip
u-boot-imx-f61137937da9afb543a55ca44b7178f2feee34cf.tar.gz
u-boot-imx-f61137937da9afb543a55ca44b7178f2feee34cf.tar.bz2
Merge with /home/wd/git/u-boot/stx-gp3ssa
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index caa5a0e..8964a8c 100644
--- a/Makefile
+++ b/Makefile
@@ -1792,8 +1792,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 \