summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-01-17 11:13:21 +0100
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 11:06:28 +0100
commit3c9547a504a96a6a3585573dc172ab4070c18679 (patch)
treeb43b6f58df6bd04893cee6f9158e6154d8825519 /arch
parentCRIS: Add architecture dependent bug.h for CRIS v10 and CRIS v32 (diff)
downloadlinux-3c9547a504a96a6a3585573dc172ab4070c18679.tar.xz
linux-3c9547a504a96a6a3585573dc172ab4070c18679.zip
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')
-rw-r--r--arch/cris/arch-v10/boot/compressed/Makefile4
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 17ba271b226e..4a031cb27eb9 100644
--- a/arch/cris/arch-v10/boot/compressed/Makefile
+++ b/arch/cris/arch-v10/boot/compressed/Makefile
@@ -3,9 +3,9 @@
#
CC = gcc-cris -melf $(LINUXINCLUDE)
-EXTRA_CFLAGS = -O2
+ccflags-y += -O2
LD = ld-cris
-LDFLAGS = -T $(obj)/decompress.ld
+ldflags-y += -T $(obj)/decompress.ld
OBJECTS = $(obj)/head.o $(obj)/misc.o
OBJCOPY = objcopy-cris
OBJCOPYFLAGS = -O binary --remove-section=.bss