summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMichael Brandt <Michael.Brandt@stericsson.com>2010-01-13 09:54:58 +0100
committerMichael Brandt <Michael.Brandt@stericsson.com>2010-01-13 09:54:58 +0100
commit2e0649a4f0a40848676fb183437915c1e8dcb866 (patch)
tree20092c5010dadb0cba4716b8fd531b0dc721abba /Makefile
parentd157ec3412960375dee37e7845bb5e6315397d6a (diff)
added u8500_udc_config (usbtty) Makefile target
define CONFIG_USB_TTY for u8500_udc_config target.
Diffstat (limited to 'Makefile')
-rw-r--r--[-rwxr-xr-x]Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index be7ea1f49..ee6a04791 100755..100644
--- a/Makefile
+++ b/Makefile
@@ -3150,6 +3150,7 @@ smdkc100_config: unconfig
u8500_def_config \
u8500_SRAM_config \
u8500_noconsole_config \
+u8500_udc_config \
u8500_auto_config: unconfig
@mkdir -p $(obj)include
@mkdir -p $(obj)board/st/u8500
@@ -3164,6 +3165,8 @@ u8500_auto_config: unconfig
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 ; \
+ elif [ "$(findstring _udc, $@)" ] ; then \
+ echo "#define CONFIG_USB_TTY 1" >> $(obj)include/config.h ; \
fi; \
if [ "$(findstring _SRAM, $@)" ] ; then \
echo "#define CONFIG_BOOT_SRAM" >> $(obj)include/config.h ; \