summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7b84baf6291..407f5c4cfd5 100644
--- a/Makefile
+++ b/Makefile
@@ -981,6 +981,8 @@ xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,
xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
+xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
+
SX1_config : unconfig
@./mkconfig $(@:_config=) arm arm925t sx1
@@ -1011,6 +1013,18 @@ omap1610h2_cs3boot_config : unconfig
fi;
@./mkconfig -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn
+omap730p2_config \
+omap730p2_cs0boot_config \
+omap730p2_cs3boot_config : unconfig
+ @if [ "$(findstring _cs0boot_, $@)" ] ; then \
+ echo "#define CONFIG_CS0_BOOT" >> ./include/config.h ; \
+ echo "... configured for CS0 boot"; \
+ else \
+ echo "#define CONFIG_CS3_BOOT" >> ./include/config.h ; \
+ echo "... configured for CS3 boot"; \
+ fi;
+ @./mkconfig -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2
+
smdk2400_config : unconfig
@./mkconfig $(@:_config=) arm arm920t smdk2400