diff --git a/arch/cris/arch-v10/boot/rescue/Makefile b/arch/cris/arch-v10/boot/rescue/Makefile index 911c89456f8d2628a42787285c8104af436a46b6..2e5045b9e19c01ece12a4f97f88c9012c6b431fe 100644 --- a/arch/cris/arch-v10/boot/rescue/Makefile +++ b/arch/cris/arch-v10/boot/rescue/Makefile @@ -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