build-cross-tools: Allow skipping building lldb-mi

This commit is contained in:
Martin Storsjö committed 2022-08-12 00:48:46 +03:00
1 parent 11e7485306
commit 6c2d158270
1 file changed
+6 -1
+6 -1
View File
@@ -21,6 +21,9 @@ while [ $# -gt 0 ]; do
--with-python) --with-python)
PYTHON=1 PYTHON=1
;; ;;
--disable-lldb-mi)
NO_LLDB_MI=1
;;
*) *)
if [ -z "$NATIVE" ]; then if [ -z "$NATIVE" ]; then
NATIVE="$1" NATIVE="$1"
@@ -37,7 +40,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] echo $0 native prefix arch [--with-python] [--disable-lldb-mi]
exit 1 exit 1
fi fi
@@ -56,7 +59,9 @@ if [ -n "$PYTHON" ]; then
fi fi
./build-llvm.sh $PREFIX --host=$HOST $LLVM_ARGS ./build-llvm.sh $PREFIX --host=$HOST $LLVM_ARGS
if [ -z "$NO_LLDB_MI" ]; then
./build-lldb-mi.sh $PREFIX --host=$HOST ./build-lldb-mi.sh $PREFIX --host=$HOST
fi
./strip-llvm.sh $PREFIX --host=$HOST ./strip-llvm.sh $PREFIX --host=$HOST
./build-mingw-w64-tools.sh $PREFIX --skip-include-triplet-prefix --host=$HOST ./build-mingw-w64-tools.sh $PREFIX --skip-include-triplet-prefix --host=$HOST
./install-wrappers.sh $PREFIX --host=$HOST ./install-wrappers.sh $PREFIX --host=$HOST