diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-01-24 07:07:34 -0500 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:06:33 -0500 |
commit | a77dba6a4dd0e18ae57018a99e4068c34125632c (patch) | |
tree | b430181975b5f1ad4f2f91bb99309424b7a56a21 /arch/cris | |
parent | 111e3b1abaccb39a5fdc5eb79c51988862beb26d (diff) |
CRIS v32: Replace build flags in boot/rescue/Makefile
- Change AFLAGS to asflags-y, LDFLAGS to ldflags-y and EXTRA_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/rescue/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/cris/arch-v32/boot/rescue/Makefile b/arch/cris/arch-v32/boot/rescue/Makefile index 43260e772007..c0987795dcb7 100644 --- a/arch/cris/arch-v32/boot/rescue/Makefile +++ b/arch/cris/arch-v32/boot/rescue/Makefile | |||
@@ -3,11 +3,11 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | CC = gcc-cris -mlinux -march=v32 $(LINUXINCLUDE) | 5 | CC = gcc-cris -mlinux -march=v32 $(LINUXINCLUDE) |
6 | EXTRA_CFLAGS = -O2 | 6 | ccflags-y += -O2 -I $(srctree)/include/asm/arch/mach/ \ |
7 | AFLAGS += -I $(TOPDIR)/include/asm/arch/mach/ -I $(TOPDIR)/include/asm/arch | 7 | -I $(srctree)/include/asm/arch |
8 | EXTRA_CFLAGS += -I $(TOPDIR)/include/asm/arch/mach/ -I $(TOPDIR)/include/asm/arch | 8 | asflags-y += -I $(srctree)/include/asm/arch/mach/ -I $(srctree)/include/asm/arch |
9 | LD = gcc-cris -mlinux -march=v32 -nostdlib | 9 | LD = gcc-cris -mlinux -march=v32 -nostdlib |
10 | LDFLAGS = -T $(obj)/rescue.ld | 10 | ldflags-y += -T $(obj)/rescue.ld |
11 | LDPOSTFLAGS = -lgcc | 11 | LDPOSTFLAGS = -lgcc |
12 | OBJCOPY = objcopy-cris | 12 | OBJCOPY = objcopy-cris |
13 | OBJCOPYFLAGS = -O binary --remove-section=.bss | 13 | OBJCOPYFLAGS = -O binary --remove-section=.bss |