Commit 3c9547a5 authored by Jesper Nilsson's avatar Jesper Nilsson
Browse files

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)
parent 0dfb8c35
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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