From: Paul Mundt Date: Tue, 21 Jul 2009 08:37:18 +0000 (+0900) Subject: Merge branches 'sh/compressors' and 'sh/stable-updates' X-Git-Tag: v2.6.32-rc1~640^2~89 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fc6cca3917e6594eb93c0b5e2226342eab175041;p=platform%2Fkernel%2Flinux-3.10.git Merge branches 'sh/compressors' and 'sh/stable-updates' --- fc6cca3917e6594eb93c0b5e2226342eab175041 diff --cc arch/sh/boot/compressed/Makefile index 59e2937,b31618e,9531bf1..6182eca --- a/arch/sh/boot/compressed/Makefile +++ b/arch/sh/boot/compressed/Makefile @@@@ -39,22 -39,18 -38,10 +39,18 @@@@ $(obj)/vmlinux: $(OBJECTS) $(obj)/piggy $(obj)/vmlinux.bin: vmlinux FORCE $(call if_changed,objcopy) -$(obj)/vmlinux.bin.gz: $(obj)/vmlinux.bin FORCE +vmlinux.bin.all-y := $(obj)/vmlinux.bin + +$(obj)/vmlinux.bin.gz: $(vmlinux.bin.all-y) FORCE $(call if_changed,gzip) +$(obj)/vmlinux.bin.bz2: $(vmlinux.bin.all-y) FORCE + $(call if_changed,bzip2) +$(obj)/vmlinux.bin.lzma: $(vmlinux.bin.all-y) FORCE + $(call if_changed,lzma) - suffix-$(CONFIG_KERNEL_GZIP) := gz - suffix-$(CONFIG_KERNEL_BZIP2) := bz2 - suffix-$(CONFIG_KERNEL_LZMA) := lzma - OBJCOPYFLAGS += -R .empty_zero_page -$(obj)/piggy.o: $(obj)/piggy.S $(obj)/vmlinux.bin.gz FORCE - $(call if_changed,as_o_S) +LDFLAGS_piggy.o := -r --format binary --oformat $(ld-bfd) -T + +$(obj)/piggy.o: $(obj)/vmlinux.scr $(obj)/vmlinux.bin.$(suffix-y) FORCE + $(call if_changed,ld)