lkml.org 
[lkml]   [2009]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectRe: 'make headers_check' failed to install headers to arbitrary location
Date
On Thursday 14 May 2009, Sergei Poselenov wrote:
> CHECK include/linux/tc_ematch (4 files)
> CHECK include/linux/usb (8 files)
> make[2]: execvp: /bin/sh: Argument list too long
> make[2]: ***

Can you try this patch?

Arnd <><

--- a/scripts/Makefile.headersinst
+++ b/scripts/Makefile.headersinst
@@ -54,8 +54,8 @@ quiet_cmd_remove = REMOVE $(unwanted)
cmd_remove = rm -f $(unwanted-file)

quiet_cmd_check = CHECK $(printdir) ($(words $(all-files)) files)
- cmd_check = $(PERL) $< $(INSTALL_HDR_PATH)/include $(SRCARCH) \
- $(addprefix $(install)/, $(all-files)); \
+ cmd_check = echo $(addprefix $(install)/, $(all-files)) | \
+ xargs $(PERL) $< $(INSTALL_HDR_PATH)/include $(SRCARCH) ; \
touch $@

PHONY += __headersinst __headerscheck

\
 
 \ /
  Last update: 2009-05-14 18:57    [W:0.069 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site