Revert "scripts/Makefile.headersinst: make scratch file parallel safe"
This reverts commit69005c760d
. This commit was a bugfix on top of commit71f613a0a5
. As this commit is also being reverted, we no longer need this bugfix. Change-Id: I7f9a29d78e1e0ddf25f84c993365fcabdc0880e7 Signed-off-by: Ian Maund <imaund@codeaurora.org>
This commit is contained in:
parent
02a2c6ee94
commit
fb7a28497f
|
@ -72,7 +72,7 @@ printdir = $(patsubst $(INSTALL_HDR_PATH)/%/,%,$(dir $@))
|
|||
quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\
|
||||
file$(if $(word 2, $(all-files)),s))
|
||||
cmd_install = \
|
||||
xargs $(CONFIG_SHELL) $< $(installdir) < $@-input-files; \
|
||||
xargs $(CONFIG_SHELL) $< $(installdir) < $(INSTALL_HDR_PATH)/.input-files; \
|
||||
for F in $(wrapper-files); do \
|
||||
echo "\#include <asm-generic/$$F>" > $(installdir)/$$F; \
|
||||
done; \
|
||||
|
@ -101,9 +101,9 @@ targets += $(install-file)
|
|||
$(install-file): scripts/headers_install.sh $(input-files) FORCE
|
||||
$(if $(unwanted),$(call cmd,remove),)
|
||||
$(if $(wildcard $(dir $@)),,$(shell mkdir -p $(dir $@)))
|
||||
@echo $(input-files) > $@-input-files
|
||||
@echo $(input-files) > $(INSTALL_HDR_PATH)/.input-files
|
||||
$(call if_changed,install)
|
||||
@rm $@-input-files
|
||||
@rm $(INSTALL_HDR_PATH)/.input-files
|
||||
|
||||
else
|
||||
__headerscheck: $(subdirs) $(check-file)
|
||||
|
|
Loading…
Reference in New Issue