Re: Build-failure with old files in build-directory (Was: Linux 3.9released)

From: H. Peter Anvin
Date: Tue Apr 30 2013 - 00:25:02 EST


On 04/29/2013 01:36 AM, Matthias Schniedermeyer wrote:
> On 28.04.2013 17:56, Linus Torvalds wrote:
>
> I'm not sure if it is supported, but building with a O= -directory that
> was previously used to build a 3.8.9-kernel that was "clean"ed (but not
> "mrproper"ed) before building 3.9 results in a build-failure:
> make[2]: *** No rule to make target `/xssd/usr_src/ko/leeloo/include/config/hz.h', needed by `kernel/hz.bc'. Stop.
>
> After deleting everything in the KBUILD_OUTPUT-directory, except the
> .config-file, the kernel-build worked again.
>
> At least in the past a "clean" seamed to be enough. I had a file with a
> 2.6.39-name inside, so it seams i have build my kernels this way for the
> last few releases.
>

This is a question for the Kbuild people I believe...

-hpa


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