summaryrefslogtreecommitdiffstats
path: root/arch/cris
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-01-30 12:55:56 +0100
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 11:06:33 +0100
commit111e3b1abaccb39a5fdc5eb79c51988862beb26d (patch)
treea27e081633d95218663b8516036598a8cfed01ea /arch/cris
parentCRIS v10: Change name of low voltage read and set macros. (diff)
downloadlinux-111e3b1abaccb39a5fdc5eb79c51988862beb26d.tar.xz
linux-111e3b1abaccb39a5fdc5eb79c51988862beb26d.zip
CRIS v32: Replace build flags in boot/compressed/Makefile
- Change AFLAGS to asflags-y, LDFLAGS to ldflags-y and KBUILD_CFLAGS to ccflags-y. We only need the flags in this Makefile.
Diffstat (limited to 'arch/cris')
-rw-r--r--arch/cris/arch-v32/boot/compressed/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/cris/arch-v32/boot/compressed/Makefile b/arch/cris/arch-v32/boot/compressed/Makefile
index 900d8581c1b6..2c8c2c3039c5 100644
--- a/arch/cris/arch-v32/boot/compressed/Makefile
+++ b/arch/cris/arch-v32/boot/compressed/Makefile
@@ -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