summaryrefslogtreecommitdiff
path: root/arch/avr32
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2014-01-06 15:45:09 +0900
committerTom Rini <trini@ti.com>2014-01-24 16:59:07 -0500
commit5378d5eabe8943bcff0d93ba43df3a5b246d4138 (patch)
treedb8c53e9404dbde13e786a18c5777e99ea0320d9 /arch/avr32
parentd937326ffcd6da4c6ba1297a8786cfeaec1812e7 (diff)
avr32: move CONFIG_AVR32 definition to arch/avr32/config.mk
Like other architectures, CONFIG_AVR32 can be defined in arch/avr32/config.mk rather than board header files. Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Andreas Bießmann <andreas.devel@googlemail.com> Acked-by: Andreas Bießmann <andreas.devel@googlemail.com>
Diffstat (limited to 'arch/avr32')
-rw-r--r--arch/avr32/config.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/config.mk b/arch/avr32/config.mk
index 4ab4745edf..b9b96313c5 100644
--- a/arch/avr32/config.mk
+++ b/arch/avr32/config.mk
@@ -6,7 +6,7 @@
#
CROSS_COMPILE ?= avr32-linux-
-
+PLATFORM_CPPFLAGS += -DCONFIG_AVR32
CONFIG_STANDALONE_LOAD_ADDR ?= 0x00000000
PLATFORM_RELFLAGS += -ffixed-r5 -fPIC -mno-init-got -mrelax