Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'
From: Michal Marek
Date: Wed Dec 31 2014 - 09:25:16 EST
On 2014-12-31 15:16, Sedat Dilek wrote:
> On Wed, Dec 31, 2014 at 2:56 PM, Michal Marek <mmarek@xxxxxxx> wrote:
>> The problem is that
>>
>> clean-dirs += $(objtree)/debian/
>>
>> results in
>>
>> clean-dirs += ./debian/
>>
>> and scripts/Makefile.clean treats it as relative to scripts/package.
>>
>
> Thanks for your reply.
>
> IIRC I looked through some commits touching this area.
> From your description, is the simplification ("kbuild: simplify build,
> clean, modbuiltin shorthands") in [1] the cause for this?
No, it broke with 7e1c0477 (kbuild: Use relative path for $(objtree)).
I'll problably change the logic in Makefile.clean to check for paths
starting with './' AKA '$(objtree)/', unless I find a more elegant solution.
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/