]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
CRIS v32: Replace build flags in boot/compressed/Makefile
authorJesper Nilsson <jesper.nilsson@axis.com>
Wed, 30 Jan 2008 11:55:56 +0000 (12:55 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:33 +0000 (11:06 +0100)
- Change AFLAGS to asflags-y, LDFLAGS to ldflags-y and KBUILD_CFLAGS
  to ccflags-y. We only need the flags in this Makefile.

arch/cris/arch-v32/boot/compressed/Makefile

index 900d8581c1b6c7abe9bd8d8e25b6ae3508a4ed6d..2c8c2c3039c518c2c90b06902eab23dec30c779f 100644 (file)
@@ -3,10 +3,10 @@
 #
 
 CC = gcc-cris -mlinux -march=v32 $(LINUXINCLUDE)
-AFLAGS += -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch
-KBUILD_CFLAGS += -O2 -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch
+asflags-y += -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch
+ccflags-y += -O2 -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch
 LD = gcc-cris -mlinux -march=v32 -nostdlib
-LDFLAGS = -T $(obj)/decompress.ld
+ldflags-y += -T $(obj)/decompress.ld
 obj-y = head.o misc.o
 OBJECTS = $(obj)/head.o $(obj)/misc.o
 OBJCOPY = objcopy-cris