summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorJesper Nilsson <jesper.nilsson@axis.com>2008-01-17 11:22:41 +0100
committerJesper Nilsson <jesper.nilsson@axis.com>2008-02-08 11:06:29 +0100
commit546cc14862c8712341823c9235268062bac87b74 (patch)
tree737fa71e6f172c2da0ba73219e397e141a261861 /arch
parent3c9547a504a96a6a3585573dc172ab4070c18679 (diff)
downloadblackbird-op-linux-546cc14862c8712341823c9235268062bac87b74.tar.gz
blackbird-op-linux-546cc14862c8712341823c9235268062bac87b74.zip
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.
Diffstat (limited to 'arch')
-rw-r--r--arch/cris/arch-v10/boot/rescue/Makefile6
1 files changed, 3 insertions, 3 deletions
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
OpenPOWER on IntegriCloud