summaryrefslogtreecommitdiff
path: root/arch/avr32/Makefile
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-30 19:15:46 +0400
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-05-09 10:48:38 +0400
commitc19aa754f32ff1dd7cb8e96454f5eba95c20585e (patch)
tree7b21440ae66a10fb3d3b79792d92d988262985a3 /arch/avr32/Makefile
parentde372ecd80a42c4fb485c7232475301a18d05184 (diff)
downloadlinux-c19aa754f32ff1dd7cb8e96454f5eba95c20585e.tar.xz
[AVR32] Use correct config symbol when setting cpuflags
As Robert P. J. Day pointed out, the CONFIG_CPU_AT32AP7000 symbol wasn't used for anything. It should have been used to select the correct -mcpu= options for CFLAGS. -mcpu=ap7000 is the default anyway, so this patch shouldn't really make any difference, but it's always nice to do things correctly. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Diffstat (limited to 'arch/avr32/Makefile')
-rw-r--r--arch/avr32/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile
index 6115fc1f0cfa..dc6bc01f232c 100644
--- a/arch/avr32/Makefile
+++ b/arch/avr32/Makefile
@@ -16,7 +16,7 @@ AFLAGS += -mrelax -mno-pic
CFLAGS_MODULE += -mno-relax
LDFLAGS_vmlinux += --relax
-cpuflags-$(CONFIG_CPU_AP7000) += -mcpu=ap7000
+cpuflags-$(CONFIG_CPU_AT32AP7000) += -mcpu=ap7000
CFLAGS += $(cpuflags-y)
AFLAGS += $(cpuflags-y)