From: H. Peter Anvin Date: Tue, 22 Nov 2011 22:47:50 +0000 (-0800) Subject: kbuild, headers.sh: Don't make archheaders explicitly X-Git-Tag: v3.3-rc1~36^2~7 X-Git-Url: http://git.cascardo.eti.br/?a=commitdiff_plain;h=9147621c771c8b6a5c8985373af3a8200e8b4a41;p=cascardo%2Flinux.git 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 Link: http://lkml.kernel.org/r/4ECA8991.20302@suse.cz Signed-off-by: H. Peter Anvin --- diff --git a/scripts/headers.sh b/scripts/headers.sh index af1ed8810087..978b42b3acd7 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}