summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-07-18 15:48:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-07-18 15:48:04 +0200
commitc03b0a9b30d5a9dce70bad7b6838797dfd577685 (patch)
tree94371b7784816396c535b4d3cba3ed26cf9d3139
parent6179af5350bb1b74a7763cf22327645f18edf43e (diff)
try to build under hudson control
-rw-r--r--toolchain/kernel-headers/patches/3.9.9/headersinst-xargs.patch22
1 files changed, 22 insertions, 0 deletions
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 <asm-generic/$$F>" > $(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)