All of lore.kernel.org
 help / color / mirror / Atom feed
* deb-pkg target invokes clean
@ 2017-02-12 21:11 Juraj
  2017-02-12 22:10 ` Sven Joachim
  0 siblings, 1 reply; 3+ messages in thread
From: Juraj @ 2017-02-12 21:11 UTC (permalink / raw)
  To: linux-kbuild

Hello.

I noticed that the deb-pkg target in scripts/package/Makefile invokes
make clean. Is this really necessary? I disabled it so I could rebuild
.deb packages faster after making small changes to the kernel source.

Juraj

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: deb-pkg target invokes clean
  2017-02-12 21:11 deb-pkg target invokes clean Juraj
@ 2017-02-12 22:10 ` Sven Joachim
  2017-02-13 14:01   ` Riku Voipio
  0 siblings, 1 reply; 3+ messages in thread
From: Sven Joachim @ 2017-02-12 22:10 UTC (permalink / raw)
  To: Juraj; +Cc: linux-kbuild

On 2017-02-12 22:11 +0100, Juraj wrote:

> I noticed that the deb-pkg target in scripts/package/Makefile invokes
> make clean. Is this really necessary?

Yes, because (since Linux 4.3) "make deb-pkg" also generates a source
tarball, and you don't want spurious object files in that tarball.

> I disabled it so I could rebuild
> .deb packages faster after making small changes to the kernel source.

There's the bindeb-pkg target for that already. :-)

Cheers,
       Sven

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: deb-pkg target invokes clean
  2017-02-12 22:10 ` Sven Joachim
@ 2017-02-13 14:01   ` Riku Voipio
  0 siblings, 0 replies; 3+ messages in thread
From: Riku Voipio @ 2017-02-13 14:01 UTC (permalink / raw)
  To: Sven Joachim, Michal Marek; +Cc: Juraj, linux-kbuild

On 13 February 2017 at 00:10, Sven Joachim <svenjoac@gmx.de> wrote:
> On 2017-02-12 22:11 +0100, Juraj wrote:
>
>> I noticed that the deb-pkg target in scripts/package/Makefile invokes
>> make clean. Is this really necessary?
>
> Yes, because (since Linux 4.3) "make deb-pkg" also generates a source
> tarball, and you don't want spurious object files in that tarball.
>
>> I disabled it so I could rebuild
>> .deb packages faster after making small changes to the kernel source.
>
> There's the bindeb-pkg target for that already. :-)

I've submitted a even faster target specifically to improve turnaround times:

https://patchwork.kernel.org/patch/9532279/

I don't know if it's going to be accepted for 4.11 or not.

Riku

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-02-13 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-12 21:11 deb-pkg target invokes clean Juraj
2017-02-12 22:10 ` Sven Joachim
2017-02-13 14:01   ` Riku Voipio

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.