Re: [PATCH] Speed up "make headers_*"

From: Sam Ravnborg
Date: Mon Jun 09 2008 - 02:23:34 EST


On Sun, Jun 08, 2008 at 09:58:54PM +0100, David Woodhouse wrote:
> It doesn't look like headers_check_all will work after your patches --
> but to be fair I don't think it worked _before_ them either. When you
> run headers_install_all, there's no asm/ directory -- and thus the check
> will fail for any headers in linux/ which try to include <asm/*.h>.

Accidentially I left an older hack in my patch:
+headers_check_all: headers_install headers_install_all
^^^^^^^^^^^^^^^
+ $(Q)$(MAKE) $(hdr-inst)=include HDRCHECK=1


This made us install both to asm/ and asm-x86 (as this is an x86 box).

I will remove this hack before hitting kbuild-next.

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