mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-21 05:53:14 +00:00
26 lines
722 B
Plaintext
26 lines
722 B
Plaintext
modules += musl
|
|
|
|
musl_version := 1.1.15
|
|
musl_dir := musl-$(musl_version)
|
|
musl_tar := musl-$(musl_version).tar.gz
|
|
musl_url := https://www.musl-libc.org/releases/$(musl_tar)
|
|
musl_hash := 97e447c7ee2a7f613186ec54a93054fe15469fe34d7d323080f7ef38f5ecb0fa
|
|
|
|
musl_output := $(INSTALL)/bin/musl-gcc
|
|
|
|
#
|
|
# Note that for syslibdir to be /lib the install will likely fail.
|
|
# this is unfortunate, but can be worked around by making sure that
|
|
# a /lib/ld-musl-x86_64.so.1 symlink exists and points to libc.so
|
|
# for your musl build.
|
|
#
|
|
# Otherwise we'll have to make a whole cross compiler setup.
|
|
#
|
|
musl_configure := ./configure \
|
|
--prefix="$(INSTALL)" \
|
|
--syslibdir="/lib" \
|
|
|
|
musl_target := -j 8 install
|
|
|
|
musl_depends := kernel-headers
|