From: Jesper Nilsson Date: Thu, 17 Jan 2008 10:22:41 +0000 (+0100) Subject: CRIS v10: Change boot/rescue/Makefile to use ccflags-y, asflags-y and ldflags-y. X-Git-Tag: firefly_0821_release~22533^2~110 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=546cc14862c8712341823c9235268062bac87b74;p=firefly-linux-kernel-4.4.55.git 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. --- diff --git a/arch/cris/arch-v10/boot/rescue/Makefile b/arch/cris/arch-v10/boot/rescue/Makefile index 911c89456f8d..2e5045b9e19c 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