Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- a/scripts/Makefile.headersinst
- +++ b/scripts/Makefile.headersinst
- @@ -78,9 +78,12 @@
- quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\
- file$(if $(word 2, $(all-files)),s))
- cmd_install = \
- - $(CONFIG_SHELL) $< $(installdir) $(srcdir) $(input-files1-name); \
- - $(CONFIG_SHELL) $< $(installdir) $(oldsrcdir) $(input-files2-name); \
- - $(CONFIG_SHELL) $< $(installdir) $(gendir) $(input-files3-name); \
- + # $(CONFIG_SHELL) $< $(installdir) $(srcdir) $(input-files1-name); \
- + # $(CONFIG_SHELL) $< $(installdir) $(oldsrcdir) $(input-files2-name); \
- + # $(CONFIG_SHELL) $< $(installdir) $(gendir) $(input-files3-name); \
- + xargs $(CONFIG_SHELL) $< $(installdir) < $(INSTALL_HDR_PATH)/.input-files1-name; \
- + xargs $(CONFIG_SHELL) $< $(installdir) < $(INSTALL_HDR_PATH)/.input-files2-name; \
- + xargs $(CONFIG_SHELL) $< $(installdir) < $(INSTALL_HDR_PATH)/.input-files3-name; \
- for F in $(wrapper-files); do \
- echo "\#include <asm-generic/$$F>" > $(installdir)/$$F; \
- done; \
- @@ -109,7 +112,17 @@
- $(install-file): scripts/headers_install.sh $(input-files1) $(input-files2) $(input-files3) FORCE
- $(if $(unwanted),$(call cmd,remove),)
- $(if $(wildcard $(dir $@)),,$(shell mkdir -p $(dir $@)))
- + $(shell echo -n > $(INSTALL_HDR_PATH)/.input-files)
- + $(foreach f,$(input-files1),$(shell echo -n "$(f) " >> \
- + $(INSTALL_HDR_PATH)/.input-files1))
- + $(foreach f,$(input-files2),$(shell echo -n "$(f) " >> \
- + $(INSTALL_HDR_PATH)/.input-files2))
- + $(foreach f,$(input-files3),$(shell echo -n "$(f) " >> \
- + $(INSTALL_HDR_PATH)/.input-files3))
- $(call if_changed,install)
- + @rm $(INSTALL_HDR_PATH)/.input-files1
- + @rm $(INSTALL_HDR_PATH)/.input-files2
- + @rm $(INSTALL_HDR_PATH)/.input-files3
- else
- __headerscheck: $(subdirs) $(check-file)
Add Comment
Please, Sign In to add comment