diff options
Diffstat (limited to 'arch/cris/arch-v32/boot/rescue/Makefile')
-rw-r--r-- | arch/cris/arch-v32/boot/rescue/Makefile | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/arch/cris/arch-v32/boot/rescue/Makefile b/arch/cris/arch-v32/boot/rescue/Makefile deleted file mode 100644 index 566aac663a38..000000000000 --- a/arch/cris/arch-v32/boot/rescue/Makefile +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | # | ||
2 | # Makefile for rescue (bootstrap) code | ||
3 | # | ||
4 | |||
5 | CC = gcc-cris -mlinux -march=v32 $(LINUXINCLUDE) | ||
6 | ccflags-y += -O2 -I $(srctree)/include/asm/arch/mach/ \ | ||
7 | -I $(srctree)/include/asm/arch | ||
8 | asflags-y += -I $(srctree)/include/asm/arch/mach/ -I $(srctree)/include/asm/arch | ||
9 | LD = gcc-cris -mlinux -march=v32 -nostdlib | ||
10 | ldflags-y += -T $(srctree)/$(src)/rescue.lds | ||
11 | LDPOSTFLAGS = -lgcc | ||
12 | OBJCOPYFLAGS = -O binary --remove-section=.bss | ||
13 | obj-$(CONFIG_ETRAX_AXISFLASHMAP) = head.o | ||
14 | OBJECT := $(obj)/head.o | ||
15 | |||
16 | targets := rescue.o rescue.bin | ||
17 | |||
18 | quiet_cmd_ldlibgcc = LD $@ | ||
19 | cmd_ldlibgcc = $(LD) $(LDFLAGS) $(filter-out FORCE,$^) $(LDPOSTFLAGS) -o $@ | ||
20 | |||
21 | $(obj)/rescue.o: $(OBJECTS) FORCE | ||
22 | $(call if_changed,ldlibgcc) | ||
23 | |||
24 | $(obj)/rescue.bin: $(obj)/rescue.o FORCE | ||
25 | $(call if_changed,objcopy) | ||
26 | cp -p $(obj)/rescue.bin $(objtree) | ||