summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorHaavard Skinnemoen <hskinnemoen@atmel.com>2007-04-30 17:15:46 +0200
committerHaavard Skinnemoen <hskinnemoen@atmel.com>2007-05-09 08:48:38 +0200
commitc19aa754f32ff1dd7cb8e96454f5eba95c20585e (patch)
tree7b21440ae66a10fb3d3b79792d92d988262985a3 /arch
parentde372ecd80a42c4fb485c7232475301a18d05184 (diff)
downloadop-kernel-dev-c19aa754f32ff1dd7cb8e96454f5eba95c20585e.zip
op-kernel-dev-c19aa754f32ff1dd7cb8e96454f5eba95c20585e.tar.gz
[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')
-rw-r--r--arch/avr32/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile
index 6115fc1..dc6bc01 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)
OpenPOWER on IntegriCloud