|
@@ -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)
|