aboutsummaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-07-29 17:51:32 +0000
committerGravatar Ulf Samuelsson <ulf.samuelsson@atmel.com>2007-07-29 17:51:32 +0000
commitf4933fcbb37622d1b735c846ff5a960d2b164b03 (patch)
tree4e82e792d89fbc0e61e918a29d78f9246f82cfa3 /toolchain
parenteda1d6d6f1fd8c5b28490471e011a80ac53ef751 (diff)
downloadbuildroot-f4933fcbb37622d1b735c846ff5a960d2b164b03.tar.gz
buildroot-f4933fcbb37622d1b735c846ff5a960d2b164b03.tar.bz2
Add AVR32 options to gcc
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/toolchain/gcc/Makefile.in b/toolchain/gcc/Makefile.in
index 8484ebac71..ec14b25bd1 100644
--- a/toolchain/gcc/Makefile.in
+++ b/toolchain/gcc/Makefile.in
@@ -10,6 +10,12 @@ TARGET_OPTIMIZATION:=$(strip $(subst ",, $(BR2_TARGET_OPTIMIZATION)))
#"))
EXTRA_GCC_CONFIG_OPTIONS:=$(strip $(subst ",, $(BR2_EXTRA_GCC_CONFIG_OPTIONS)))
#"))
+
+# AVR32 GCC configuration
+ifeq ($(strip $(BR2_GCC_AVR32_CONFIGURATION)),y)
+EXTRA_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+endif
+
ifeq ($(strip $(subst ",, $(BR2_GCC_IS_SNAP))),y)
#"))
GCC_SNAP_DATE:=$(strip $(subst ",, $(BR2_GCC_SNAP_DATE)))
@@ -79,5 +85,10 @@ EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--enable-intermodule
endif
endif # BR2_PREFER_IMA=y
+# AVR32 target GCC configuration
+ifeq ($(strip $(BR2_GCC_TARGET_AVR32_CONFIGURATION)),y)
+EXTRA_TARGET_GCC_CONFIG_OPTIONS+=--disable-libmudflap
+endif
+
TARGETS+=gcc_target
endif