summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Brandt <Michael.Brandt@stericsson.com>2009-10-21 11:37:07 +0200
committerMichael Brandt <Michael.Brandt@stericsson.com>2009-10-21 11:37:07 +0200
commite71fc7b2b3a228383e770a7d78150497d9c48d3c (patch)
tree1fba7eafc9884577e029b50953b27dae340342d3 /Makefile
parent14abfe361b3ed23b02f564e2f5d663e158cd5799 (diff)
merged changes for u8500 (mop500).
Diffstat (limited to 'Makefile')
-rwxr-xr-x[-rw-r--r--]Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5857b5252..25310ca4b 100644..100755
--- a/Makefile
+++ b/Makefile
@@ -3127,6 +3127,24 @@ omap3_zoom1_config : unconfig
omap3_zoom2_config : unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 zoom2 logicpd omap3
+u8500_def_config \
+u8500_noconsole_config \
+u8500_auto_config: unconfig
+ @mkdir -p $(obj)include
+ @ > $(obj)include/config.h
+ @if [ "$(findstring _def, $@)" ] ; then \
+ echo "#ifndef CONFIG_SKIP_LOWLEVEL_INIT " >> $(obj)include/config.h ; \
+ echo "#define CONFIG_SKIP_LOWLEVEL_INIT 1" >> $(obj)include/config.h ; \
+ echo "#endif" >> $(obj)include/config.h ; \
+ elif [ "$(findstring _noconsole, $@)" ] ; then \
+ echo "Configuring for no console ..." ; \
+ echo "#ifndef CONFIG_SKIP_LOWLEVEL_INIT" >> $(obj)include/config.h ; \
+ echo "#define CONFIG_SKIP_LOWLEVEL_INIT 1" >> $(obj)include/config.h ; \
+ echo "#endif" >> $(obj)include/config.h ; \
+ echo "#define CONFIG_SILENT_CONSOLE 1" >> $(obj)include/config.h ; \
+ fi;
+ @$(MKCONFIG) -a u8500 arm arm_cortexa9 u8500 st stw8500
+
#########################################################################
## XScale Systems
#########################################################################