diff --git a/build-cross-tools.sh b/build-cross-tools.sh index bdbfc5d..5f87e49 100755 --- a/build-cross-tools.sh +++ b/build-cross-tools.sh @@ -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