From cfc716a5df6dfdaa6e0d2f2f3b2b3e2d455b71c7 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Sat, 16 Feb 2019 19:23:29 +0000 Subject: [PATCH] scripts/build_mt: trivial multithreaded wrapper for ad-hoc packages --- scripts/build_mt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 scripts/build_mt diff --git a/scripts/build_mt b/scripts/build_mt new file mode 100755 index 0000000000..5e3dbfc436 --- /dev/null +++ b/scripts/build_mt @@ -0,0 +1,14 @@ +#!/bin/bash + +# SPDX-License-Identifier: GPL-2.0 +# Copyright (C) 2019-present Team LibreELEC (https://libreelec.tv) + +. config/options "" +. config/multithread + +# Setup both toolchain cmake configs to avoid potentially racy behaviour later. +# Use a fork for host to isolate any variable modifications. +( setup_toolchain host ) +setup_toolchain target + +MTADDONBUILD=no start_multithread_build ${@}