Files
axe-os/stage/toolchain/bash.bash
2026-03-25 16:26:52 +02:00

19 lines
358 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 \
--disable-nls \
--silent \
--quiet
make && make DESTDIR="$SYSROOT" install
ln -s bash "$SYSROOT"/bin/sh
cd "$SOURCES" && rm -rf bash-$BASH_VERSION