Re: [PATCH v2] microblaze: Fix Makefile to delete build generatedfiles

From: Michal Marek
Date: Tue Mar 16 2010 - 06:59:35 EST


On 16.3.2010 11:53, Arun Bhanu wrote:
> Adding Cc: Michal Marek <mmarek@xxxxxxx> who is the Kbuild maintainer.
>> I personally don't like that this line is in main arch Makefile but I
>> saw that other archs have it too. Will be better to have it only in boot
>> folder but I don't know if is possible to do that.
>> Sam: What do you think?
>
> From my limited understanding of Kbuild, it only includes the top
> level Makefile of each architecture. In our case
> arch/microblaze/Makefile. If we define MRPROPER_FILES variable in
> arch/microblaze/boot/Makefile Kbuild will not evaluate it.

Correct, make mrproper is not a recursive target, so it won't read
ordinary kbuild files like arch/microblaze/boot/Makefile.

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/