[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A0D525B.5070509@emcraft.com>
Date: Fri, 15 May 2009 15:30:35 +0400
From: Sergei Poselenov <sposelenov@...raft.com>
To: Arnd Bergmann <arnd@...db.de>
CC: linux-kernel@...r.kernel.org
Subject: Re: 'make headers_check' failed to install headers to arbitrary location
Hello Arnd,
Thanks, but it doesn't help. The same error.
This is actually not a perl error, but the shell's
passing a list of files with added $(install) prefix.
Regards,
Sergei
Arnd Bergmann wrote:
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists