logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/bootstrap-initrd.git
commit: 87e43d105c634bb568de6f4e31f513a6f67fb767
parent 4febcfd5377eea46d3e5dac39c082bd62af88640
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 24 May 2024 02:29:31 +0200

bootstrap-pkgconf.sh: switch to (g)make

Diffstat:

Mbootstrap-pkgconf.sh15++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)

diff --git a/bootstrap-pkgconf.sh b/bootstrap-pkgconf.sh @@ -1,14 +1,23 @@ #!/bin/sh set -ex +die() { + echo "die: $@" + exit 1 +} + +# Also works with bmake, doesn't works with pdpmake +command -v make || die "Run /bootstrap-make.sh" + tar xof /pkgconf-*.tar.gz cd ./pkgconf-*/ export LD="tcc" +export MAKE="make" ./configure --prefix=/usr --disable-nls --disable-dependency-tracking -bmake clean -bmake ARFLAGS='-r' -bmake install +$MAKE clean +$MAKE ARFLAGS='-r' +$MAKE install ln -s `command -v pkgconf` /usr/bin/pkg-config cd ..