X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Favr32%2FMakefile;h=87918647be6d6ed97dba60963f7995c134012d47;hb=8854cb49a249c8df883874e64dfbc25eaa69a6ee;hp=dc6bc01f232cb3a1b2574ef40e8ff043070ddd7a;hpb=f697b677620d04d8c77841745727de85f7e948b1;p=linux-2.6 diff --git a/arch/avr32/Makefile b/arch/avr32/Makefile index dc6bc01f23..87918647be 100644 --- a/arch/avr32/Makefile +++ b/arch/avr32/Makefile @@ -11,15 +11,15 @@ all: uImage vmlinux.elf KBUILD_DEFCONFIG := atstk1002_defconfig -CFLAGS += -pipe -fno-builtin -mno-pic -AFLAGS += -mrelax -mno-pic +KBUILD_CFLAGS += -pipe -fno-builtin -mno-pic +KBUILD_AFLAGS += -mrelax -mno-pic CFLAGS_MODULE += -mno-relax LDFLAGS_vmlinux += --relax cpuflags-$(CONFIG_CPU_AT32AP7000) += -mcpu=ap7000 -CFLAGS += $(cpuflags-y) -AFLAGS += $(cpuflags-y) +KBUILD_CFLAGS += $(cpuflags-y) +KBUILD_AFLAGS += $(cpuflags-y) CHECKFLAGS += -D__avr32__ -D__BIG_ENDIAN