Commit 546cc148 authored by Jesper Nilsson's avatar 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.
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment