[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+icZUX47rv=BqMdKuXeT0s9q1fageu1gUxBDc-Dn+tk=36vqg@mail.gmail.com>
Date: Sun, 28 Dec 2014 10:56:30 +0100
From: Sedat Dilek <sedat.dilek@...il.com>
To: Ben Hutchings <ben@...adent.org.uk>
Cc: Michal Marek <mmarek@...e.cz>, maximilian attems <max@...o.at>,
LKML <linux-kernel@...r.kernel.org>,
linux-kbuild@...r.kernel.org,
Masahiro Yamada <yamada.m@...panasonic.com>,
Sam Ravnborg <sam@...nborg.org>,
Linus Torvalds <torvalds@...ux-foundation.org>
Subject: Re: deb-pkg: Cleaning of debian/*tmp files when running 'make (dist)clean'
On Fri, Dec 26, 2014 at 7:46 PM, Ben Hutchings <ben@...adent.org.uk> wrote:
> On Fri, 2014-12-26 at 13:43 +0100, Sedat Dilek wrote:
>> On Fri, Dec 26, 2014 at 1:02 PM, Sedat Dilek <sedat.dilek@...il.com> wrote:
>> [...]
>> >
>> > Any other make (PHONY) target I don't know?
>> >
>>
>> I fell over "clean-dirs"...
>>
>> scripts/package/Makefile:93:clean-dirs += $(objtree)/debian/
>>
>> ...but did not really understood how it works.
>> The main Makefile defines some clean-dirs PHONY#s.
>> I can only speculate, someone with more skillz in Makefile handling
>> should look at this.
>
> It looks like this has not worked for a long time. The scripts
> directory is not included in the main recursive processes; it seems to
> be special-cased for build and not for clean. This is partly deliberate
> because clean is supposed to leave 'enough to build external modules'.
> It's not obvious to include scripts/packages/ in clean.
>
[ CCing some more people (submitters to scripts/Makefile.clean) ]
Thanks for your reply and confirmation.
So, how to fix that issue?
Cleanup debian/*tmp dirs within builddeb script for now?
Fix that clean-dirs mechanism (or remove it)?
These 4 Makefile#s use it...
Documentation/DocBook/Makefile
Makefile
scripts/Makefile.clean
scripts/package/Makefile
Any help appreciated.
- Sedat -
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists