diff --git a/config/options b/config/options index 974860b1f5..07f04f7b82 100644 --- a/config/options +++ b/config/options @@ -26,6 +26,11 @@ DISTRO="${DISTRO:-LibreELEC}" # determines PROJECT, if not forced by user 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 export ARCH="${ARCH:-x86_64}" TARGET_ARCH="${ARCH}"