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

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
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment