diff options
Diffstat (limited to 'arch/avr32/Makefile')
-rw-r--r-- | arch/avr32/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile index 87918647be6d..17a3529341dd 100644 --- a/arch/avr32/Makefile +++ b/arch/avr32/Makefile | |||
@@ -16,7 +16,7 @@ KBUILD_AFLAGS += -mrelax -mno-pic | |||
16 | CFLAGS_MODULE += -mno-relax | 16 | CFLAGS_MODULE += -mno-relax |
17 | LDFLAGS_vmlinux += --relax | 17 | LDFLAGS_vmlinux += --relax |
18 | 18 | ||
19 | cpuflags-$(CONFIG_CPU_AT32AP7000) += -mcpu=ap7000 | 19 | cpuflags-$(CONFIG_PLATFORM_AT32AP) += -march=ap |
20 | 20 | ||
21 | KBUILD_CFLAGS += $(cpuflags-y) | 21 | KBUILD_CFLAGS += $(cpuflags-y) |
22 | KBUILD_AFLAGS += $(cpuflags-y) | 22 | KBUILD_AFLAGS += $(cpuflags-y) |
@@ -31,6 +31,7 @@ core-$(CONFIG_BOARD_ATNGW100) += arch/avr32/boards/atngw100/ | |||
31 | core-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/ | 31 | core-$(CONFIG_LOADER_U_BOOT) += arch/avr32/boot/u-boot/ |
32 | core-y += arch/avr32/kernel/ | 32 | core-y += arch/avr32/kernel/ |
33 | core-y += arch/avr32/mm/ | 33 | core-y += arch/avr32/mm/ |
34 | drivers-$(CONFIG_OPROFILE) += arch/avr32/oprofile/ | ||
34 | libs-y += arch/avr32/lib/ | 35 | libs-y += arch/avr32/lib/ |
35 | 36 | ||
36 | archincdir-$(CONFIG_PLATFORM_AT32AP) := arch-at32ap | 37 | archincdir-$(CONFIG_PLATFORM_AT32AP) := arch-at32ap |