提交 3c9547a5 编写于 作者: J 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)
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册