From c03b0a9b30d5a9dce70bad7b6838797dfd577685 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 18 Jul 2013 15:48:04 +0200 Subject: try to build under hudson control --- .../patches/3.9.9/headersinst-xargs.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 toolchain/kernel-headers/patches/3.9.9/headersinst-xargs.patch diff --git a/toolchain/kernel-headers/patches/3.9.9/headersinst-xargs.patch b/toolchain/kernel-headers/patches/3.9.9/headersinst-xargs.patch new file mode 100644 index 000000000..62222b21b --- /dev/null +++ b/toolchain/kernel-headers/patches/3.9.9/headersinst-xargs.patch @@ -0,0 +1,22 @@ +diff -Nur linux-3.9.9.orig/scripts/Makefile.headersinst linux-3.9.9/scripts/Makefile.headersinst +--- linux-3.9.9.orig/scripts/Makefile.headersinst 2013-07-03 19:56:36.000000000 +0200 ++++ linux-3.9.9/scripts/Makefile.headersinst 2013-07-18 15:46:50.000000000 +0200 +@@ -72,7 +72,7 @@ + quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\ + file$(if $(word 2, $(all-files)),s)) + cmd_install = \ +- $(PERL) $< $(installdir) $(SRCARCH) $(input-files); \ ++ xargs $(PERL) $< $(installdir) $(SRCARCH) < $(INSTALL_HDR_PATH)/.input-files; \ + for F in $(wrapper-files); do \ + echo "\#include " > $(installdir)/$$F; \ + done; \ +@@ -101,7 +101,9 @@ + $(install-file): scripts/headers_install.pl $(input-files) FORCE + $(if $(unwanted),$(call cmd,remove),) + $(if $(wildcard $(dir $@)),,$(shell mkdir -p $(dir $@))) ++ @echo $(input-files) > $(INSTALL_HDR_PATH)/.input-files + $(call if_changed,install) ++ @rm $(INSTALL_HDR_PATH)/.input-files + + else + __headerscheck: $(subdirs) $(check-file) -- cgit v1.2.3