mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
config/options: set project independent variables early
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
parent
74668b7cf7
commit
df4858f5c2
@ -7,6 +7,11 @@ fi
|
|||||||
# set default language for buildsystem
|
# set default language for buildsystem
|
||||||
export LC_ALL=C
|
export LC_ALL=C
|
||||||
|
|
||||||
|
# set default independent variables
|
||||||
|
ROOT="${PWD}"
|
||||||
|
DISTRO_DIR="$ROOT/distributions"
|
||||||
|
PROJECT_DIR="$ROOT/projects"
|
||||||
|
|
||||||
# determines DISTRO, if not forced by user
|
# determines DISTRO, if not forced by user
|
||||||
# default is LibreELEC
|
# default is LibreELEC
|
||||||
if [ -z "$DISTRO" ]; then
|
if [ -z "$DISTRO" ]; then
|
||||||
@ -31,10 +36,6 @@ else
|
|||||||
TARGET_ARCH="$ARCH"
|
TARGET_ARCH="$ARCH"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
ROOT="${PWD}"
|
|
||||||
DISTRO_DIR="$ROOT/distributions"
|
|
||||||
PROJECT_DIR="$ROOT/projects"
|
|
||||||
|
|
||||||
# include helper functions
|
# include helper functions
|
||||||
. config/functions
|
. config/functions
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user