mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 19:16:32 +01:00
feat(musl-obstack): add steps-guix musl-obstack-1.2.3 step with verified sha256 and wire it before elfutils
This commit is contained in:
parent
bcd3be0c97
commit
51d47734c2
3 changed files with 36 additions and 0 deletions
|
|
@ -7,4 +7,5 @@ build: binutils-2.41
|
||||||
build: gcc-15.2.0
|
build: gcc-15.2.0
|
||||||
build: argp-standalone-1.4.1
|
build: argp-standalone-1.4.1
|
||||||
build: musl-fts-1.2.7
|
build: musl-fts-1.2.7
|
||||||
|
build: musl-obstack-1.2.3
|
||||||
build: elfutils-0.194
|
build: elfutils-0.194
|
||||||
|
|
|
||||||
34
steps-guix/musl-obstack-1.2.3/pass1.sh
Normal file
34
steps-guix/musl-obstack-1.2.3/pass1.sh
Normal file
|
|
@ -0,0 +1,34 @@
|
||||||
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
# Build musl-obstack 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"
|
||||||
|
}
|
||||||
1
steps-guix/musl-obstack-1.2.3/sources
Normal file
1
steps-guix/musl-obstack-1.2.3/sources
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
f https://github.com/void-linux/musl-obstack/archive/refs/tags/v1.2.3.tar.gz 9ffb3479b15df0170eba4480e51723c3961dbe0b461ec289744622db03a69395 musl-obstack-1.2.3.tar.gz
|
||||||
Loading…
Add table
Add a link
Reference in a new issue