arc: fix patch reset while read models

Signed-off-by: AuxXxilium <info@auxxxilium.tech>
This commit is contained in:
AuxXxilium 2024-10-26 11:29:06 +02:00
parent 25dc3115b6
commit bb8c74e9ac

View File

@ -102,10 +102,10 @@ function arcModel() {
COMPATIBLE=1
DT="$(readConfigKey "platforms.${A}.dt" "${P_FILE}")"
FLAGS="$(readConfigArray "platforms.${A}.flags" "${P_FILE}")"
ARCCONF="$(readConfigKey "${M}.serial" "${S_FILE}")"
ARCCONFM="$(readConfigKey "${M}.serial" "${S_FILE}")"
ARC=""
BETA=""
[ -n "${ARCCONF}" ] && ARC="x" || ARC=""
[ -n "${ARCCONFM}" ] && ARC="x" || ARC=""
[ "${DT}" == "true" ] && DTS="x" || DTS=""
IGPUS=""
[[ "${A}" == "apollolake" || "${A}" == "geminilake" ]] && IGPUS="up to 9th"