MIPS: zboot: make the vmlinuz be fresh all the time
PATCH 1/1 MIPS: zboot: make the vmlinuz be fresh all the time
Manuel Lauss have reported:
"when I change the compression type in a built tree, the compressed/ directoryy doesn't get rebuilt and a stale vmlinuz remains"
This patch fixes it.
--- arch/mips/Makefile | 2 +- arch/mips/boot/compressed/Makefile | 3 --- 2 files changed, 1 insertions(+), 4 deletions(-)
arch/mips/Makefile +1 -1
@@ -712,7 +712,7 @@ makezboot =$(Q)$(MAKE) $(build)=arch/mips/boot/compressed \ all: $(all-y) -vmlinuz: vmlinux +vmlinuz: vmlinux FORCE +@$(call makezboot,$@) vmlinuz.bin: vmlinux
arch/mips/boot/compressed/Makefile +0 -3
@@ -49,20 +49,17 @@ tool_$(CONFIG_KERNEL_LZMA) = lzma tool_$(CONFIG_KERNEL_LZO) = lzo $(obj)/vmlinux.$(suffix_y): $(obj)/vmlinux.bin $(call if_changed,$(tool_y)) - $(Q)rm -f $< $(obj)/piggy.o: $(obj)/vmlinux.$(suffix_y) $(obj)/dummy.o $(Q)$(OBJCOPY) $(OBJCOPYFLAGS) \ --add-section=.image=$< \ --set-section-flags=.image=contents,alloc,load,readonly,data \ $(obj)/dummy.o $@ - $(Q)rm -f $< LDFLAGS_vmlinuz := $(LDFLAGS) -Ttext $(VMLINUZ_LOAD_ADDRESS) -T vmlinuz: $(src)/ld.script $(obj-y) $(obj)/piggy.o $(call if_changed,ld) $(Q)$(OBJCOPY) $(OBJCOPYFLAGS) -R .comment -R .stab -R .stabstr -R .initrd -R .sysmap $@ - $(Q)rm -f $(obj)/piggy.o # # Some DECstations need all possible sections of an ECOFF executable
Signature · 1 line
1.6.2.1
Quoted 6 lines · Wu Zhangjin
Manuel Lauss have reported:
"when I change the compression type in a built tree, the compressed/ directoryy doesn't get rebuilt and a stale vmlinuz remains"
This patch fixes it.
Works perfectly, thank you!
Manuel Lauss
On Wed, Oct 14, 2009 at 07:11:52PM +0800, Wu Zhangjin wrote:
Thanks, folded into the existing compression patch.
Ralf
Hi Ralf,
I have updated my git repository to your master branch, and plan to push the basic support of fuloong2f to you and also the linux-mips mailing list, is it okay? any suggestion?
and of course, will not push a bunch of them, only 3 or 5 patches one time.
Thanks & Regards,
Wu Zhangjin
Quoted 5 lines · Ralf Baechle
On Wed, Oct 14, 2009 at 07:11:52PM +0800, Wu Zhangjin wrote:
Thanks, folded into the existing compression patch.
Ralf
Quoted 3 lines · Wu Zhangjin
I have updated my git repository to your master branch, and plan to push the basic support of fuloong2f to you and also the linux-mips mailing list, is it okay? any suggestion?
Sure, go ahead. It would be appreciated if you would rebase your code to the queue branch of linux-queue.git for submission; this will minimize merge conflicts.
Ralf