mirror of
https://github.com/linuxboot/linuxboot
synced 2024-11-22 08:09:41 +00:00
9273e252f6
This adds compilations modules for musl-libc and kernel-headers. The entire initrd (busybox, cryptsetup, gpgv, kexec, etc) can be built with the much smaller libc and it appears to work with chroot. Library paths are not set correctly and files are installed into heads/install to make them accessible to other modules. This prevents the initrd from working without manual fixup; need to fix before merging into master. Build times have gone up since everything is being rebuilt more often for some reason.
19 lines
631 B
Plaintext
19 lines
631 B
Plaintext
modules += kernel-headers
|
|
|
|
# we install kernel-headers from sabotage linux, a musl-libc based
|
|
# distribution, that works well with busybox and other tools.
|
|
|
|
kernel-headers_version := 3.12.6-5
|
|
kernel-headers_dir := kernel-headers-$(kernel-headers_version)
|
|
kernel-headers_tar := kernel-headers-$(kernel-headers_version).tar.gz
|
|
kernel-headers_url := https://github.com/sabotage-linux/kernel-headers/archive/v$(kernel-headers_version).tar.gz
|
|
kernel-headers_hash := ecf4db8781dc50a21cbc4cb17b039f96aede53f9da13435a3201373abb49b96b
|
|
|
|
kernel-headers_configure :=
|
|
|
|
kernel-headers_target := \
|
|
ARCH=x86_64 \
|
|
prefix="$(INSTALL)" \
|
|
install
|
|
|