diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-01-17 05:22:41 -0500 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:06:29 -0500 |
commit | 546cc14862c8712341823c9235268062bac87b74 (patch) | |
tree | 737fa71e6f172c2da0ba73219e397e141a261861 /arch/cris/arch-v10/boot | |
parent | 3c9547a504a96a6a3585573dc172ab4070c18679 (diff) |
CRIS v10: Change boot/rescue/Makefile to use ccflags-y, asflags-y and ldflags-y.
Replace EXTRA_CFLAGS with ccflags-y.
Change ASFLAGS and LDFLAGS into asflags-y and ldflags-y, we only need
these flags in this makefile.
Diffstat (limited to 'arch/cris/arch-v10/boot')
-rw-r--r-- | arch/cris/arch-v10/boot/rescue/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/cris/arch-v10/boot/rescue/Makefile b/arch/cris/arch-v10/boot/rescue/Makefile index 911c89456f8d..2e5045b9e19c 100644 --- a/arch/cris/arch-v10/boot/rescue/Makefile +++ b/arch/cris/arch-v10/boot/rescue/Makefile | |||
@@ -3,10 +3,10 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | CC = gcc-cris -mlinux $(LINUXINCLUDE) | 5 | CC = gcc-cris -mlinux $(LINUXINCLUDE) |
6 | EXTRA_CFLAGS = -O2 | 6 | ccflags-y += -O2 |
7 | AFLAGS = -traditional | 7 | asflags-y += -traditional |
8 | LD = gcc-cris -mlinux -nostdlib | 8 | LD = gcc-cris -mlinux -nostdlib |
9 | LDFLAGS = -T $(obj)/rescue.ld | 9 | ldflags-y += -T $(obj)/rescue.ld |
10 | OBJCOPY = objcopy-cris | 10 | OBJCOPY = objcopy-cris |
11 | OBJCOPYFLAGS = -O binary --remove-section=.bss | 11 | OBJCOPYFLAGS = -O binary --remove-section=.bss |
12 | obj-$(CONFIG_ETRAX_AXISFLASHMAP) = head.o | 12 | obj-$(CONFIG_ETRAX_AXISFLASHMAP) = head.o |