Add model soloSE & update kernel and drivers.
[vuplus_openvuplus_3.0] / meta-openvuplus / recipes-kernel / linux-libc-headers / linux-libc-headers / scripts-Makefile.headersinst-install-headers-from-sc.patch
1 diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst
2 index 477d137..5147fcf 100644
3 --- a/scripts/Makefile.headersinst
4 +++ b/scripts/Makefile.headersinst
5 @@ -72,7 +72,7 @@ printdir = $(patsubst $(INSTALL_HDR_PATH)/%/,%,$(dir $@))
6  quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\
7                              file$(if $(word 2, $(all-files)),s))
8        cmd_install = \
9 -        $(PERL) $< $(installdir) $(SRCARCH) $(input-files); \
10 +        xargs $(PERL) $< $(installdir) $(SRCARCH) < $(INSTALL_HDR_PATH)/.input-files; \
11          for F in $(wrapper-files); do                                   \
12                  echo "\#include <asm-generic/$$F>" > $(installdir)/$$F;    \
13          done;                                                           \
14 @@ -101,7 +101,11 @@ targets += $(install-file)
15  $(install-file): scripts/headers_install.pl $(input-files) FORCE
16         $(if $(unwanted),$(call cmd,remove),)
17         $(if $(wildcard $(dir $@)),,$(shell mkdir -p $(dir $@)))
18 +       $(shell echo -n > $(INSTALL_HDR_PATH)/.input-files)
19 +       $(foreach f,$(input-files),$(shell echo -n "$(f) " >> \
20 +                       $(INSTALL_HDR_PATH)/.input-files))
21         $(call if_changed,install)
22 +       @rm $(INSTALL_HDR_PATH)/.input-files
23  
24  else
25  __headerscheck: $(subdirs) $(check-file)