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.
This commit is contained in:
Jesper Nilsson 2008-01-17 11:22:41 +01:00
parent 3c9547a504
commit 546cc14862

View File

@ -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