[PATCH] Re: 'make headers_check' failed to install headers to arbitrarylocation

From: Sergei Poselenov
Date: Thu May 21 2009 - 09:47:14 EST


Hello all,

A time ago I noted a 'make headers_check' failure, see the
original message here:
http://lkml.org/lkml/2009/5/14/248

The proposed patch fixes this error, please review.
Tested on 2.6.30-rc5.

Signed-off-by: Sergei Poselenov <sposelenov@xxxxxxxxxxx>
---
scripts/Makefile.headersinst | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst
index 095cfc8..2bd5fe4 100644
--- a/scripts/Makefile.headersinst
+++ b/scripts/Makefile.headersinst
@@ -54,8 +54,9 @@ 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 = (for f in $(all-files); do \
+ $(PERL) $< $(INSTALL_HDR_PATH)/include $(SRCARCH) \
+ $(install)/$${f}; done); \
touch $@

PHONY += __headersinst __headerscheck
--
1.6.0.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/