[tip:x86/syscall] kbuild, headers.sh: Don't make archheaders explicitly

From: tip-bot for H. Peter Anvin
Date: Tue Nov 22 2011 - 18:00:20 EST


Commit-ID: 9147621c771c8b6a5c8985373af3a8200e8b4a41
Gitweb: http://git.kernel.org/tip/9147621c771c8b6a5c8985373af3a8200e8b4a41
Author: H. Peter Anvin <hpa@xxxxxxxxx>
AuthorDate: Tue, 22 Nov 2011 14:47:50 -0800
Committer: H. Peter Anvin <hpa@xxxxxxxxx>
CommitDate: Tue, 22 Nov 2011 14:47:50 -0800

kbuild, headers.sh: Don't make archheaders explicitly

We don't need to explicitly invoke the archheaders target because of
the dependency on __headers in the Makefile.

Reported-and-tested-by: Michal Marek <mmarek@xxxxxxx>
Link: http://lkml.kernel.org/r/4ECA8991.20302@xxxxxxx
Signed-off-by: H. Peter Anvin <hpa@xxxxxxxxx>
---
scripts/headers.sh | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/scripts/headers.sh b/scripts/headers.sh
index af1ed88..978b42b 100755
--- a/scripts/headers.sh
+++ b/scripts/headers.sh
@@ -7,7 +7,6 @@ set -e
do_command()
{
if [ -f ${srctree}/arch/$2/include/asm/Kbuild ]; then
- make ARCH=$2 KBUILD_HEADERS=$1 archheaders
make ARCH=$2 KBUILD_HEADERS=$1 headers_$1
else
printf "Ignoring arch: %s\n" ${arch}
--
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/