[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1419619556.4705.136.camel@decadent.org.uk>
Date: Fri, 26 Dec 2014 19:46:02 +0100
From: Ben Hutchings <ben@...adent.org.uk>
To: sedat.dilek@...il.com
Cc: Michal Marek <mmarek@...e.cz>, maximilian attems <max@...o.at>,
LKML <linux-kernel@...r.kernel.org>, linux-kbuild@...r.kernel.org
Subject: Re: deb-pkg: Cleaning of debian/*tmp files when running 'make
(dist)clean'
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.
Ben.
--
Ben Hutchings
Experience is directly proportional to the value of equipment destroyed.
- Carolyn Scheppner
Download attachment "signature.asc" of type "application/pgp-signature" (812 bytes)
Powered by blists - more mailing lists