Files
axe-os/stage/toolchain/bash.bash
2026-03-25 14:54:35 +02:00

18 lines
341 B
Bash

fetch $BASH_URL
cd "$SOURCES" && tar xf bash-$BASH_VERSION.tar.gz && cd bash-$BASH_VERSION
./configure \
--prefix=/usr \
--build=$(sh support/config.guess) \
--host=$TARGET \
--without-bash-malloc \
--silent \
--quiet
make && make DESTDIR="$SYSROOT" install
ln -s bash "$SYSROOT"/bin/sh
cd "$SOURCES" && rm -rf bash-$BASH_VERSION