mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-22 19:16:32 +01:00
steps-guix: build argp-standalone natively into /kernel-toolchain
This commit is contained in:
parent
2f224445f8
commit
6022208c41
1 changed files with 4 additions and 7 deletions
|
|
@ -2,7 +2,6 @@
|
||||||
|
|
||||||
# Build argp-standalone for the kernel toolchain sysroot. This is used by
|
# Build argp-standalone for the kernel toolchain sysroot. This is used by
|
||||||
# later kernel-side dependencies (for example elfutils).
|
# later kernel-side dependencies (for example elfutils).
|
||||||
: "${KERNEL_TARGET:=x86_64-unknown-linux-musl}"
|
|
||||||
: "${KERNEL_SYSROOT:=/kernel-toolchain}"
|
: "${KERNEL_SYSROOT:=/kernel-toolchain}"
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
|
|
@ -11,17 +10,15 @@ src_prepare() {
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
export PATH="${KERNEL_SYSROOT}/bin:${PATH}"
|
|
||||||
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
|
CC=gcc \
|
||||||
|
AR=ar \
|
||||||
|
RANLIB=ranlib \
|
||||||
../configure \
|
../configure \
|
||||||
--prefix="${KERNEL_SYSROOT}" \
|
--prefix="${KERNEL_SYSROOT}" \
|
||||||
--libdir="${KERNEL_SYSROOT}/lib" \
|
--libdir="${KERNEL_SYSROOT}/lib"
|
||||||
--build="${TARGET}" \
|
|
||||||
--host="${KERNEL_TARGET}" \
|
|
||||||
--target="${KERNEL_TARGET}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue