diff options
author | Mathieu J. Poirier <mathieu.poirier@linaro.org> | 2011-02-14 14:12:27 -0700 |
---|---|---|
committer | Mathieu J. Poirier <mathieu.poirier@linaro.org> | 2011-02-14 14:12:27 -0700 |
commit | 4035e3996f903064c91e6e1ce9b1328018c6a9d3 (patch) | |
tree | 2aa2047ac501152f20c3b5d45d16e932d4030e46 /Makefile | |
parent | f901cd945f07041cdb11c74b4305d28f17e776e3 (diff) |
Adding compilation support for snowball.
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -3157,7 +3157,8 @@ u8500_def_config \ u8500_SRAM_config \ u8500_noconsole_config \ u8500_udc_config \ -u8500_auto_config: +u8500_auto_config \ +u8500_snowball_config: @if [ -z "$(shell grep "steconfig:$@" $(obj)include/config.h 2>/dev/null)" ]; then \ $(MAKE) unconfig ; \ mkdir -p $(obj)include ; \ @@ -3180,6 +3181,12 @@ u8500_auto_config: echo "#define CONFIG_BOOT_SRAM" >> $(obj)include/config.h ; \ echo "TEXT_BASE = 0x40030000" >$(obj)board/st/u8500/config.tmp ; \ fi ; \ + if [ "$(findstring _snowball, $@)" ] ; 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 ; \ + echo "#define CONFIG_SNOWBALL 1" >> $(obj)include/config.h ; \ + fi ; \ $(MKCONFIG) -a u8500 arm arm_cortexa9 u8500 st db8500 ; \ fi |