mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
config/options: default to Generic device when building Generic project
This fixes building and calling into build scripts without PROJECT, DEVICE and ARCH set Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
1b9c125021
commit
de465c0664
@ -26,6 +26,11 @@ DISTRO="${DISTRO:-LibreELEC}"
|
|||||||
# determines PROJECT, if not forced by user
|
# determines PROJECT, if not forced by user
|
||||||
export PROJECT="${PROJECT:-Generic}"
|
export PROJECT="${PROJECT:-Generic}"
|
||||||
|
|
||||||
|
# default to Generic device if building Generic project without device set
|
||||||
|
if [ "${PROJECT}" = "Generic" -a -z "${DEVICE}" ]; then
|
||||||
|
export DEVICE="Generic"
|
||||||
|
fi
|
||||||
|
|
||||||
# determines TARGET_ARCH, if not forced by user
|
# determines TARGET_ARCH, if not forced by user
|
||||||
export ARCH="${ARCH:-x86_64}"
|
export ARCH="${ARCH:-x86_64}"
|
||||||
TARGET_ARCH="${ARCH}"
|
TARGET_ARCH="${ARCH}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user