mailing list of musl libc
 help / color / mirror / code / Atom feed
* Re: How and which Linux kernel headers are used for musl-cross-make
@ 2016-12-07  5:36 vlse
  0 siblings, 0 replies; 3+ messages in thread
From: vlse @ 2016-12-07  5:36 UTC (permalink / raw)
  To: musl

Laurent, may you provide me with the manual commands for doing it myself from vanilla kernel source and musl source.

Regards,

vlse,
Veera


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

* Re: How and which Linux kernel headers are used for musl-cross-make
  2016-12-06  7:19 vlse
@ 2016-12-06  9:10 ` Laurent Bercot
  0 siblings, 0 replies; 3+ messages in thread
From: Laurent Bercot @ 2016-12-06  9:10 UTC (permalink / raw)
  To: musl

>I like to know what musl-cross-make uses for linux kernel headers. 
>Making out from source code it appears it uses the plain linux kernel 
>headers from vanilla linux kernel. Or does it use sabotage modified 
>kernel headers? Please clarify the situation. Also if one has to 
>install from linux source please give the steps needed to do it 
>manually.

  musl-cross-make doesn't use kernel headers itself. You can define
LINUX_VER as the empty variable, and it will still work, and produce a
toolchain that does not include kernel headers.

  When you set LINUX_VER to a kernel version, it simply extracts the
headers for that kernel version from the vanilla kernel and installs 
them
along with the libc's headers. This helps have an operational toolchain
that is, for instance, able to compile busybox right away.

  You don't need to fetch the kernel sources yourself, musl-cross-make
will automatically do it if you give it a proper LINUX_VER. But again,
it is not mandatory. You can set LINUX_VER empty and install your own
kernel headers independently from musl-cross-make if you so wish.

--
  Laurent



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

* How and which Linux kernel headers are used for musl-cross-make
@ 2016-12-06  7:19 vlse
  2016-12-06  9:10 ` Laurent Bercot
  0 siblings, 1 reply; 3+ messages in thread
From: vlse @ 2016-12-06  7:19 UTC (permalink / raw)
  To: musl

I like to know what musl-cross-make uses for linux kernel headers. Making out from source code it appears it uses the plain linux kernel headers from vanilla linux kernel. Or does it use sabotage modified kernel headers? Please clarify the situation. Also if one has to install from linux source please give the steps needed to do it manually.

vlse,
Veera


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

end of thread, other threads:[~2016-12-07  5:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-07  5:36 How and which Linux kernel headers are used for musl-cross-make vlse
  -- strict thread matches above, loose matches on Subject: below --
2016-12-06  7:19 vlse
2016-12-06  9:10 ` Laurent Bercot

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).