diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-01-17 05:13:21 -0500 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:06:28 -0500 |
commit | 3c9547a504a96a6a3585573dc172ab4070c18679 (patch) | |
tree | b43b6f58df6bd04893cee6f9158e6154d8825519 /arch/cris | |
parent | 0dfb8c35703709ca5e8f58e019d72383110999a7 (diff) |
CRIS v10: Update boot/compressed/Makefile to use ccflags-y and ldflags-y
Replace use of EXTRA_CFLAGS with ccflags-y and LDFLAGS with ldflags-y,
(we only need to change linker flags for this makefile)
Diffstat (limited to 'arch/cris')
-rw-r--r-- | arch/cris/arch-v10/boot/compressed/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/cris/arch-v10/boot/compressed/Makefile b/arch/cris/arch-v10/boot/compressed/Makefile index 17ba271b226..4a031cb27eb 100644 --- a/arch/cris/arch-v10/boot/compressed/Makefile +++ b/arch/cris/arch-v10/boot/compressed/Makefile | |||
@@ -3,9 +3,9 @@ | |||
3 | # | 3 | # |
4 | 4 | ||
5 | CC = gcc-cris -melf $(LINUXINCLUDE) | 5 | CC = gcc-cris -melf $(LINUXINCLUDE) |
6 | EXTRA_CFLAGS = -O2 | 6 | ccflags-y += -O2 |
7 | LD = ld-cris | 7 | LD = ld-cris |
8 | LDFLAGS = -T $(obj)/decompress.ld | 8 | ldflags-y += -T $(obj)/decompress.ld |
9 | OBJECTS = $(obj)/head.o $(obj)/misc.o | 9 | OBJECTS = $(obj)/head.o $(obj)/misc.o |
10 | OBJCOPY = objcopy-cris | 10 | OBJCOPY = objcopy-cris |
11 | OBJCOPYFLAGS = -O binary --remove-section=.bss | 11 | OBJCOPYFLAGS = -O binary --remove-section=.bss |