mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
config/options: set project independent variables early
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
@@ -7,6 +7,11 @@ fi
|
||||
# set default language for buildsystem
|
||||
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
|
||||
# default is LibreELEC
|
||||
if [ -z "$DISTRO" ]; then
|
||||
@@ -31,10 +36,6 @@ else
|
||||
TARGET_ARCH="$ARCH"
|
||||
fi
|
||||
|
||||
ROOT="${PWD}"
|
||||
DISTRO_DIR="$ROOT/distributions"
|
||||
PROJECT_DIR="$ROOT/projects"
|
||||
|
||||
# include helper functions
|
||||
. config/functions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user