]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
CRIS v32: Replace build flags in boot/rescue/Makefile
authorJesper Nilsson <jesper.nilsson@axis.com>
Thu, 24 Jan 2008 12:07:34 +0000 (13:07 +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 EXTRA_CFLAGS
  to ccflags-y. We only need the flags in this Makefile.

arch/cris/arch-v32/boot/rescue/Makefile

index 43260e7720071e2ae30ca8bf2ea53a78be6f7a18..c0987795dcb7b3d3b8bfee03fe50c78f7f4d41eb 100644 (file)
@@ -3,11 +3,11 @@
 #
 
 CC = gcc-cris -mlinux -march=v32 $(LINUXINCLUDE)
-EXTRA_CFLAGS = -O2
-AFLAGS += -I $(TOPDIR)/include/asm/arch/mach/ -I $(TOPDIR)/include/asm/arch
-EXTRA_CFLAGS += -I $(TOPDIR)/include/asm/arch/mach/ -I $(TOPDIR)/include/asm/arch
+ccflags-y += -O2 -I $(srctree)/include/asm/arch/mach/ \
+               -I $(srctree)/include/asm/arch
+asflags-y += -I $(srctree)/include/asm/arch/mach/ -I $(srctree)/include/asm/arch
 LD = gcc-cris -mlinux -march=v32 -nostdlib
-LDFLAGS = -T $(obj)/rescue.ld
+ldflags-y += -T $(obj)/rescue.ld
 LDPOSTFLAGS = -lgcc
 OBJCOPY = objcopy-cris
 OBJCOPYFLAGS = -O binary --remove-section=.bss