Messages in this thread | | | Date | Mon, 21 Nov 2011 18:25:37 +0100 | From | Michal Marek <> | Subject | Re: [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
| |