feat(musl-fts): add steps-guix musl-fts-1.2.7 build step and wire it into manifest

This commit is contained in:
vxtls 2026-02-21 19:53:07 -05:00
parent e727bcc2a7
commit 92afa6fb1a
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,34 @@
# SPDX-License-Identifier: GPL-3.0-or-later
# Build musl-fts for the kernel toolchain sysroot.
: "${KERNEL_SYSROOT:=/kernel-toolchain}"
src_prepare() {
default
autoreconf -fi
}
src_configure() {
mkdir build
cd build
CC=gcc \
AR=ar \
RANLIB=ranlib \
../configure \
--prefix="${KERNEL_SYSROOT}" \
--libdir="${KERNEL_SYSROOT}/lib" \
--includedir="${KERNEL_SYSROOT}/include"
}
src_compile() {
default_src_compile
}
src_install() {
make "${MAKEJOBS}" install \
DESTDIR="${DESTDIR}" \
prefix="${KERNEL_SYSROOT}" \
libdir="${KERNEL_SYSROOT}/lib" \
includedir="${KERNEL_SYSROOT}/include"
}

View file

@ -0,0 +1 @@
f https://sources.cdn.openwrt.org/musl-fts-1.2.7.tar.xz 29c62a80e01f22bb4c998f13ef8bd33b5d7ada51231f0ef267f0f67f1be58ff5