build-cross-tools: Add an option for building busybox

This commit is contained in:
Martin Storsjö committed 2026-01-08 11:32:12 +02:00
1 parent 15659f926b
commit e4bee5bfa4
1 file changed
+7 -1
+7 -1
View File
@@ -21,6 +21,9 @@ while [ $# -gt 0 ]; do
--with-python)
PYTHON=1
;;
--with-busybox)
BUSYBOX=1
;;
--disable-lldb)
LLVM_ARGS="$LLVM_ARGS $1"
NO_LLDB=1
@@ -63,7 +66,7 @@ while [ $# -gt 0 ]; do
shift
done
if [ -z "$CROSS_ARCH" ]; then
echo $0 native prefix arch [--with-python] [--disable-lldb] [--disable-lldb-mi] [--disable-clang-tools-extra] [--disable-mingw-w64-tools] [--disable-make] [--no-llvm-tool-reuse] [--thinlto] [--lto] [--pgo[=profile]]
echo $0 native prefix arch [--with-python] [--with-busybox] [--disable-lldb] [--disable-lldb-mi] [--disable-clang-tools-extra] [--disable-mingw-w64-tools] [--disable-make] [--no-llvm-tool-reuse] [--thinlto] [--lto] [--pgo[=profile]]
exit 1
fi
@@ -103,3 +106,6 @@ fi
if [ -z "$NO_MAKE" ]; then
./build-make.sh $PREFIX --host=$HOST
fi
if [ -n "$BUSYBOX" ]; then
./build-busybox.sh $PREFIX/busybox --host=$HOST
fi