Author: nbd Date: 2014-12-08 11:04:39 +0100 (Mon, 08 Dec 2014) New Revision: 43557
Added: trunk/target/linux/generic/patches-3.14/270-x86_objdump_command.patch trunk/target/linux/generic/patches-3.18/270-x86_objdump_command.patch Log: kernel: fix x86 objdump invocation on 3.14 and 3.18 Signed-off-by: Felix Fietkau <[email protected]> Added: trunk/target/linux/generic/patches-3.14/270-x86_objdump_command.patch =================================================================== --- trunk/target/linux/generic/patches-3.14/270-x86_objdump_command.patch (rev 0) +++ trunk/target/linux/generic/patches-3.14/270-x86_objdump_command.patch 2014-12-08 10:04:39 UTC (rev 43557) @@ -0,0 +1,16 @@ +Use the cross toolchain objdump command instead of assuming that the host +toolchain has it. + +Signed-off-by: Felix Fietkau <[email protected]> + +--- a/arch/x86/boot/compressed/Makefile ++++ b/arch/x86/boot/compressed/Makefile +@@ -75,7 +75,7 @@ suffix-$(CONFIG_KERNEL_XZ) := xz + suffix-$(CONFIG_KERNEL_LZO) := lzo + suffix-$(CONFIG_KERNEL_LZ4) := lz4 + +-RUN_SIZE = $(shell objdump -h vmlinux | \ ++RUN_SIZE = $(shell $(OBJDUMP) -h vmlinux | \ + perl $(srctree)/arch/x86/tools/calc_run_size.pl) + quiet_cmd_mkpiggy = MKPIGGY $@ + cmd_mkpiggy = $(obj)/mkpiggy $< $(RUN_SIZE) > $@ || ( rm -f $@ ; false ) Added: trunk/target/linux/generic/patches-3.18/270-x86_objdump_command.patch =================================================================== --- trunk/target/linux/generic/patches-3.18/270-x86_objdump_command.patch (rev 0) +++ trunk/target/linux/generic/patches-3.18/270-x86_objdump_command.patch 2014-12-08 10:04:39 UTC (rev 43557) @@ -0,0 +1,11 @@ +--- a/arch/x86/boot/compressed/Makefile ++++ b/arch/x86/boot/compressed/Makefile +@@ -76,7 +76,7 @@ suffix-$(CONFIG_KERNEL_XZ) := xz + suffix-$(CONFIG_KERNEL_LZO) := lzo + suffix-$(CONFIG_KERNEL_LZ4) := lz4 + +-RUN_SIZE = $(shell objdump -h vmlinux | \ ++RUN_SIZE = $(shell $(OBJDUMP) -h vmlinux | \ + perl $(srctree)/arch/x86/tools/calc_run_size.pl) + quiet_cmd_mkpiggy = MKPIGGY $@ + cmd_mkpiggy = $(obj)/mkpiggy $< $(RUN_SIZE) > $@ || ( rm -f $@ ; false ) _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
