Re: [PATCH 2/8] kbuild: Add support for an "archheaders" target

From: Michal Marek
Date: Mon Nov 21 2011 - 12:24:48 EST


Dne 17.11.2011 23:37, H. Peter Anvin napsal(a):
> -__headers: include/linux/version.h scripts_basic asm-generic FORCE
> +__headers: include/linux/version.h scripts_basic asm-generic archheaders FORCE
> $(Q)$(MAKE) $(build)=scripts build_unifdef
>
> PHONY += headers_install_all
> diff --git a/scripts/headers.sh b/scripts/headers.sh
> index 978b42b..af1ed88 100755
> --- a/scripts/headers.sh
> +++ b/scripts/headers.sh
> @@ -7,6 +7,7 @@ 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

I don't think we need the explicit make archheaders call here, it's
handled by the __headers dependency above.

Michal
--
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/