scripts/build_mt: trivial multithreaded wrapper for ad-hoc packages

This commit is contained in:
MilhouseVH 2019-02-16 19:23:29 +00:00
parent ab0e387bf4
commit cfc716a5df

14
scripts/build_mt Executable file
View File

@ -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 ${@}