Merge pull request #3971 from chewitt/options92

options: support per-buildsystem options
This commit is contained in:
MilhouseVH 2019-12-15 02:04:10 +00:00 committed by GitHub
commit fa0aca6347
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

3
.gitignore vendored
View File

@ -12,6 +12,9 @@
# mkpkg temp
mkpkg-temp
# options
/.libreelec
# private working directory
/.work/

View File

@ -86,7 +86,12 @@ VERBOSE="${VERBOSE:-yes}"
# directory.
CCACHE_CACHE_SIZE="10G"
# read options from $HOME if available
# read local persistent options from $ROOT if available
if [ -f "${ROOT}/.libreelec/options" ]; then
. "${ROOT}/.libreelec/options"
fi
# read global persistent options from $HOME if available
if [ -f "${HOME}/.libreelec/options" ]; then
. "${HOME}/.libreelec/options"
fi