mailing list of musl libc
 help / color / mirror / code / Atom feed
* musl-cross-make can now install kernel headers
@ 2016-05-14  5:40 Rich Felker
  2016-05-17  0:25 ` Patrick Oppenlander
  0 siblings, 1 reply; 2+ messages in thread
From: Rich Felker @ 2016-05-14  5:40 UTC (permalink / raw)
  To: j-core, musl

I've updated the musl-cross-make toolchain build system to support
fetching kernel sources and installing the kernel headers for the
target. This should make it easier to use the resulting toolchains
for building things like toybox, busybox, strace, etc. that need
kernel headers, and for using them with buildroot. As usual the repo
is here:

https://github.com/richfelker/musl-cross-make

The kernel header functionality can be suppressed by clearing the
LINUX_VER make variable, if desired.

The new version also installs a $(TARGET)-cc symlink for gcc, for
compatibility with software that only tries cc and not gcc.

Rich


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

* Re: musl-cross-make can now install kernel headers
  2016-05-14  5:40 musl-cross-make can now install kernel headers Rich Felker
@ 2016-05-17  0:25 ` Patrick Oppenlander
  0 siblings, 0 replies; 2+ messages in thread
From: Patrick Oppenlander @ 2016-05-17  0:25 UTC (permalink / raw)
  To: musl

On 14/05/16 15:40, Rich Felker wrote:
> I've updated the musl-cross-make toolchain build system to support
> fetching kernel sources and installing the kernel headers for the
> target. This should make it easier to use the resulting toolchains
> for building things like toybox, busybox, strace, etc. that need
> kernel headers, and for using them with buildroot. As usual the repo
> is here:

Thanks!

I created a pull request on github with a few small patches:

* Support v2.6 kernel headers
   * Path at kernel.org doesn't have ".x" for kernels 2.6 and before
   * v2.6 makefiles expect the header install path to exist

* Clean linux-* with make clean

I also included my rebased gcc 5.3.0 patches.

		Patrick


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

end of thread, other threads:[~2016-05-17  0:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-14  5:40 musl-cross-make can now install kernel headers Rich Felker
2016-05-17  0:25 ` Patrick Oppenlander

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).