# # arch/cris/boot/compressed/Makefile # # asflags-$([31mCONFIG_ETRAX_ARCH_V32[0m) += -I$(srctree)/include/asm/mach \ # -I$(srctree)/include/asm/arch # ccflags-$([31mCONFIG_ETRAX_ARCH_V32[0m) += -O2 -I$(srctree)/include/asm/mach # -I$(srctree)/include/asm/arch arch-$([31mCONFIG_ETRAX_ARCH_V10[0m) = v10 arch-$([31mCONFIG_ETRAX_ARCH_V32[0m) = v32 ldflags-y += -T $(srctree)/$(src)/decompress_$(arch-y).lds OBJECTS-$([31mCONFIG_ETRAX_ARCH_V32[0m) = $(obj)/head_v32.o OBJECTS-$([31mCONFIG_ETRAX_ARCH_V10[0m) = $(obj)/head_v10.o OBJECTS= $(OBJECTS-y) $(obj)/misc.o OBJCOPYFLAGS = -O binary --remove-section=.bss quiet_cmd_image = BUILD $@ cmd_image = cat $(obj)/decompress.bin $(obj)/piggy.gz > $@ targets := vmlinux piggy.gz decompress.o decompress.bin $(obj)/decompress.o: $(OBJECTS) FORCE $(call if_changed,ld) $(obj)/decompress.bin: $(obj)/decompress.o FORCE $(call if_changed,objcopy) $(obj)/vmlinux: $(obj)/piggy.gz $(obj)/decompress.bin FORCE $(call if_changed,image) $(obj)/piggy.gz: $(obj)/../Image FORCE $(call if_changed,gzip) |