]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
CRIS v10: Update boot/compressed/Makefile to use ccflags-y and ldflags-y
authorJesper Nilsson <jesper.nilsson@axis.com>
Thu, 17 Jan 2008 10:13:21 +0000 (11:13 +0100)
committerJesper Nilsson <jesper.nilsson@axis.com>
Fri, 8 Feb 2008 10:06:28 +0000 (11:06 +0100)
Replace use of EXTRA_CFLAGS with ccflags-y and LDFLAGS with ldflags-y,
(we only need to change linker flags for this makefile)

arch/cris/arch-v10/boot/compressed/Makefile

index 17ba271b226ef141c260ce17ec7504b16f7daa4e..4a031cb27eb905f3ec264fb230486fee0c71d662 100644 (file)
@@ -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