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)
This commit is contained in:
parent
0dfb8c3570
commit
3c9547a504
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue