build-cross-tools: Add an option for building busybox
This commit is contained in:
1 parent
15659f926b
commit
e4bee5bfa4
1 file changed
+7
-1
@@ -21,6 +21,9 @@ while [ $# -gt 0 ]; do
|
|||||||
--with-python)
|
--with-python)
|
||||||
PYTHON=1
|
PYTHON=1
|
||||||
;;
|
;;
|
||||||
|
--with-busybox)
|
||||||
|
BUSYBOX=1
|
||||||
|
;;
|
||||||
--disable-lldb)
|
--disable-lldb)
|
||||||
LLVM_ARGS="$LLVM_ARGS $1"
|
LLVM_ARGS="$LLVM_ARGS $1"
|
||||||
NO_LLDB=1
|
NO_LLDB=1
|
||||||
@@ -63,7 +66,7 @@ while [ $# -gt 0 ]; do
|
|||||||
shift
|
shift
|
||||||
done
|
done
|
||||||
if [ -z "$CROSS_ARCH" ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -103,3 +106,6 @@ fi
|
|||||||
if [ -z "$NO_MAKE" ]; then
|
if [ -z "$NO_MAKE" ]; then
|
||||||
./build-make.sh $PREFIX --host=$HOST
|
./build-make.sh $PREFIX --host=$HOST
|
||||||
fi
|
fi
|
||||||
|
if [ -n "$BUSYBOX" ]; then
|
||||||
|
./build-busybox.sh $PREFIX/busybox --host=$HOST
|
||||||
|
fi
|
||||||
Reference in new issue
Block a user