[IA64] Avoid unnecessary TLB flushes when allocating memory
[linux-2.6.git] / arch / avr32 / Makefile
index 9883c8b..8791864 100644 (file)
@@ -12,14 +12,14 @@ all: uImage vmlinux.elf
 KBUILD_DEFCONFIG       := atstk1002_defconfig
 
 KBUILD_CFLAGS  += -pipe -fno-builtin -mno-pic
-AFLAGS         += -mrelax -mno-pic
+KBUILD_AFLAGS  += -mrelax -mno-pic
 CFLAGS_MODULE  += -mno-relax
 LDFLAGS_vmlinux        += --relax
 
 cpuflags-$(CONFIG_CPU_AT32AP7000)      += -mcpu=ap7000
 
 KBUILD_CFLAGS  += $(cpuflags-y)
-AFLAGS         += $(cpuflags-y)
+KBUILD_AFLAGS  += $(cpuflags-y)
 
 CHECKFLAGS     += -D__avr32__ -D__BIG_ENDIAN