Re: Makefile asking for mrproper on new checkout with KBUILD_OUTPUT

From: Michal Marek
Date: Thu Jun 17 2010 - 04:43:16 EST


On 17.6.2010 00:05, Boaz Harrosh wrote:
>
> I get this problem: When a few Header files are changed, like when doing
> a git checkout the Makefile is complaining about mrproper needed.
>
> Now I'm building a:
> make ARCH=arch KBUILD_OUTPUT=.build_arch/
>
> But a:
> make ARCH=arch KBUILD_OUTPUT=.build_arch/ mrproper
>
> Will not help. What the Makefile wants is a:
> make mrproper
>
> doing the "make mrproper" does solves it.
> It used to be fine, I'm not sure when it started to break.
>
> How can I debug this to see what is the offending files?

The makefile errors out if the source directory is configured (*),
because having random object files in the source directory would confuse
the VPATH build.

(*) Means: either .config or include/config exists

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/