summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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 19b5ac0ef..3e2e37858 100644..100755
--- a/Makefile
+++ b/Makefile
@@ -3171,6 +3171,24 @@ omap3_zoom2_config : unconfig
smdkc100_config: unconfig
@$(MKCONFIG) $(@:_config=) arm arm_cortexa8 smdkc100 samsung s5pc1xx
+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
#########################################################################