public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* Re: [gentoo-user] Building kernel without messing the kernel  source tree
       [not found] <20210514094713.30616E08F2@pigeon.gentoo.org>
@ 2021-05-14  9:59 ` netfab
  2021-05-14 21:13   ` [gentoo-user] " Thomas Mueller
  0 siblings, 1 reply; 2+ messages in thread
From: netfab @ 2021-05-14  9:59 UTC (permalink / raw
  To: gentoo-user

Le 14/05/21 à 11:47, Thomas Mueller a tapoté :
> I am looking to compile the Linux kernel and send the work and output
> to another directory, thereby leaving the kernel source tree
> directory clean.

You should have a look to KBUILD_OUTPUT environment variable.

https://www.kernel.org/doc/html/latest/kbuild/kbuild.html#kbuild-output




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

* [gentoo-user] Re: Building kernel without messing the kernel source tree
  2021-05-14  9:59 ` [gentoo-user] Building kernel without messing the kernel source tree netfab
@ 2021-05-14 21:13   ` Thomas Mueller
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Mueller @ 2021-05-14 21:13 UTC (permalink / raw
  To: gentoo-user

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 623 bytes --]


from netfab at Fri, 14 May 2021 11:59:37 +0200:

> Le 14/05/21 à 11:47, Thomas Mueller a tapoté : 
> > I am looking to compile the Linux kernel and send the work and output
> > to another directory, thereby leaving the kernel source tree
> > directory clean.

> You should have a look to KBUILD_OUTPUT environment variable.

> https://www.kernel.org/doc/html/latest/kbuild/kbuild.html#kbuild-output
        
I just looked in Documentation/kbuild/kbuild.txt, and the information was right there.

I should have noticed it, even though it was mixed in with other environment variables.

Thanks for pointing it out!

Tom



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

end of thread, other threads:[~2021-05-14 21:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20210514094713.30616E08F2@pigeon.gentoo.org>
2021-05-14  9:59 ` [gentoo-user] Building kernel without messing the kernel source tree netfab
2021-05-14 21:13   ` [gentoo-user] " Thomas Mueller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox