aboutsummaryrefslogtreecommitdiff
path: root/arch/cris/arch-v10/boot/rescue/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-07-20 17:37:46 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-20 17:37:46 -0700
commit3a533374283aea50eab3976d8a6d30532175f009 (patch)
tree5944a2b40d8b40ec68818eb40235872c609ea741 /arch/cris/arch-v10/boot/rescue/Makefile
parentfb6624ebd912e3d6907ca6490248e73368223da9 (diff)
parentd17ffb4c9d86194bb74cbc30f4b65de59c27f6cd (diff)
Merge branch 'for-linus' of git://www.jni.nu/cris
* 'for-linus' of git://www.jni.nu/cris: [CRISv10] Clean up compressed/misc.c [CRISv10] Correct whitespace damage. [CRIS] Correct definition of subdirs for install_headers. [CRIS] Correct image makefiles to allow using a separate OBJ-directory. [CRIS] Build fixes for compressed and rescue images for v10 and v32: It looks at least odd to apply spin_unlock to a mutex. cris: compile fixes for 2.6.26-rc5
Diffstat (limited to 'arch/cris/arch-v10/boot/rescue/Makefile')
-rw-r--r--arch/cris/arch-v10/boot/rescue/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/arch/cris/arch-v10/boot/rescue/Makefile b/arch/cris/arch-v10/boot/rescue/Makefile
index 2e5045b9e19..07688da9270 100644
--- a/arch/cris/arch-v10/boot/rescue/Makefile
+++ b/arch/cris/arch-v10/boot/rescue/Makefile
@@ -2,12 +2,9 @@
# Makefile for rescue (bootstrap) code
#
-CC = gcc-cris -mlinux $(LINUXINCLUDE)
-ccflags-y += -O2
-asflags-y += -traditional
-LD = gcc-cris -mlinux -nostdlib
-ldflags-y += -T $(obj)/rescue.ld
-OBJCOPY = objcopy-cris
+ccflags-y += -O2 $(LINUXINCLUDE)
+asflags-y += $(LINUXINCLUDE)
+ldflags-y += -T $(srctree)/$(obj)/rescue.ld
OBJCOPYFLAGS = -O binary --remove-section=.bss
obj-$(CONFIG_ETRAX_AXISFLASHMAP) = head.o
OBJECT := $(obj)/head.o