commit changes
This commit is contained in:
18
stage/toolchain/bash.bash
Normal file
18
stage/toolchain/bash.bash
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
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
|
||||
Reference in New Issue
Block a user