lkml.org 
[lkml]   [2011]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/8] kbuild: Add support for an "archheaders" target
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


\
 
 \ /
  Last update: 2011-11-21 18:27    [W:0.102 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site