提交 546cc148 编写于 作者: J Jesper Nilsson

CRIS v10: Change boot/rescue/Makefile to use ccflags-y, asflags-y and ldflags-y.

Replace EXTRA_CFLAGS with ccflags-y.
Change ASFLAGS and LDFLAGS into asflags-y and ldflags-y, we only need
these flags in this makefile.
上级 3c9547a5
......@@ -3,10 +3,10 @@
#
CC = gcc-cris -mlinux $(LINUXINCLUDE)
EXTRA_CFLAGS = -O2
AFLAGS = -traditional
ccflags-y += -O2
asflags-y += -traditional
LD = gcc-cris -mlinux -nostdlib
LDFLAGS = -T $(obj)/rescue.ld
ldflags-y += -T $(obj)/rescue.ld
OBJCOPY = objcopy-cris
OBJCOPYFLAGS = -O binary --remove-section=.bss
obj-$(CONFIG_ETRAX_AXISFLASHMAP) = head.o
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册