diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-01-30 06:55:56 -0500 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:06:33 -0500 |
commit | 111e3b1abaccb39a5fdc5eb79c51988862beb26d (patch) | |
tree | a27e081633d95218663b8516036598a8cfed01ea /arch/cris | |
parent | 8f2972529f354fec0fa1341d08074d328f748d8c (diff) |
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/Makefile | 6 |
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 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | CC = gcc-cris -mlinux -march=v32 $(LINUXINCLUDE) | 5 | CC = gcc-cris -mlinux -march=v32 $(LINUXINCLUDE) |
6 | AFLAGS += -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch | 6 | asflags-y += -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch |
7 | KBUILD_CFLAGS += -O2 -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch | 7 | ccflags-y += -O2 -I $(srctree)/include/asm/mach/ -I $(srctree)/include/asm/arch |
8 | LD = gcc-cris -mlinux -march=v32 -nostdlib | 8 | LD = gcc-cris -mlinux -march=v32 -nostdlib |
9 | LDFLAGS = -T $(obj)/decompress.ld | 9 | ldflags-y += -T $(obj)/decompress.ld |
10 | obj-y = head.o misc.o | 10 | obj-y = head.o misc.o |
11 | OBJECTS = $(obj)/head.o $(obj)/misc.o | 11 | OBJECTS = $(obj)/head.o $(obj)/misc.o |
12 | OBJCOPY = objcopy-cris | 12 | OBJCOPY = objcopy-cris |