From 17a18b824277546b417de09015fe4ec56a64687d Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Mon, 31 Mar 2014 13:56:33 -0400 Subject: linux-libc-headers: remove 3.10 recipe 3.14 is now the reference for libc-headers. After building and booting 3.x based BSPs against the 3.14 headers, we can safely remove the old version and patches that are now part of the mainline kernel. (From OE-Core rev: ade26bc63fdf89f297bec5f67bfff108e90438fc) Signed-off-by: Bruce Ashfield Signed-off-by: Richard Purdie --- ...efile.headersinst-install-headers-from-sc.patch | 59 ---------------------- 1 file changed, 59 deletions(-) delete mode 100644 meta/recipes-kernel/linux-libc-headers/linux-libc-headers/scripts-Makefile.headersinst-install-headers-from-sc.patch (limited to 'meta/recipes-kernel/linux-libc-headers/linux-libc-headers/scripts-Makefile.headersinst-install-headers-from-sc.patch') diff --git a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/scripts-Makefile.headersinst-install-headers-from-sc.patch b/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/scripts-Makefile.headersinst-install-headers-from-sc.patch deleted file mode 100644 index 7eb7defcde..0000000000 --- a/meta/recipes-kernel/linux-libc-headers/linux-libc-headers/scripts-Makefile.headersinst-install-headers-from-sc.patch +++ /dev/null @@ -1,59 +0,0 @@ -From b200d4bcffc86bb08fd3898bc7cde00f0686f62d Mon Sep 17 00:00:00 2001 -From: Robert Yang -Date: Fri, 13 Sep 2013 22:01:02 -0400 -Subject: [PATCH] scripts/Makefile.headersinst: install headers from scratch file - -If headers_install is executed from a deep/long directory structure, the -shell's maximum argument length can be execeeded, which breaks the operation -with: - -| make[2]: execvp: /bin/sh: Argument list too long -| make[2]: *** - -By dumping the input files to a scratch file and using xargs to read the -input list from the scratch file, we can avoid blowing out the maximum -argument size and install headers in a long path name environment. - -Robert: -Use "$(foreach ,,$(shell echo))" rather than "echo" to make it work when -len(TMPDIR) <= 410. - -Upstream-Status: Inappropriate [oe-specific] - -Signed-off-by: Bruce Ashfield -Signed-off-by: Robert Yang ---- -RP: Refreshed for 3.10 as the problem still exists there on the autobuilders - scripts/Makefile.headersinst | 9 ++++++++- - 1 file changed, 8 insertions(+), 1 deletion(-) - -diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst ---- a/scripts/Makefile.headersinst -+++ b/scripts/Makefile.headersinst -@@ -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 = \ -- $(CONFIG_SHELL) $< $(installdir) $(input-files); \ -+ xargs $(CONFIG_SHELL) $< $(installdir) < $(INSTALL_HDR_PATH)/.input-files; \ - for F in $(wrapper-files); do \ - echo "\#include " > $(installdir)/$$F; \ - done; \ -@@ -98,10 +98,17 @@ __headersinst: $(subdirs) $(install-file) - @: - - targets += $(install-file) -+# Use the $(foreach ,,$(shell echo)) to avoid the "Argument list too -+# long" error, and use the "$(shell echo)" rather than "echo" to keep -+# the order. - $(install-file): scripts/headers_install.sh $(input-files) FORCE - $(if $(unwanted),$(call cmd,remove),) - $(if $(wildcard $(dir $@)),,$(shell mkdir -p $(dir $@))) -+ $(shell echo -n > $(INSTALL_HDR_PATH)/.input-files) -+ $(foreach f,$(input-files),$(shell echo -n "$(f) " >> \ -+ $(INSTALL_HDR_PATH)/.input-files)) - $(call if_changed,install) -+ @rm $(INSTALL_HDR_PATH)/.input-files - - else - __headerscheck: $(subdirs) $(check-file) -- cgit v1.2.3-54-g00ecf