From dc6e67a67672b524b59cc9060054bbb770349d1c Mon Sep 17 00:00:00 2001 From: Anatoly Antonov Date: Thu, 10 Jun 2021 15:04:17 +0200 Subject: [PATCH 1/2] Fix geminilake support in include/pkg_util.sh --- include/pkg_util.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/include/pkg_util.sh b/include/pkg_util.sh index 2ae8852..1bbb08b 100755 --- a/include/pkg_util.sh +++ b/include/pkg_util.sh @@ -60,6 +60,7 @@ pkg_get_platform() { # [path of env.mak (default: /env.mak)] X64) arch="x86" ;; BROMOLOW) arch="bromolow" ;; BROADWELLNK) arch="broadwellnk" ;; + GEMINILAKE) arch="geminilake" ;; DENVERTON) arch="denverton" ;; REALTEK_RTD1296) arch="rtd1296" ;; APOLLOLAKE) arch="apollolake" ;; @@ -92,8 +93,8 @@ plat_to_unified_plat() { local unified_plat= case "$plat" in - x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk) - unified_plat="x86 bromolow cedarview avoton braswell broadwell dockerx64 kvmx64 grantley denverton apollolake broadwellnk" + x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk | geminilake) + unified_plat="x86 bromolow cedarview avoton braswell broadwell dockerx64 kvmx64 grantley denverton apollolake broadwellnk geminilake" ;; # alpine and alpine4k use same define. alpine | alpine4k ) @@ -111,7 +112,7 @@ plat_to_family() { local family= case "$plat" in - x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk) + x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk | geminilake) family="x86_64" ;; evansport ) @@ -216,7 +217,7 @@ pkg_get_spk_unified_platform() { # [path of env.mak (default: /env.mak)] 88f6281) spk_unified_platform="88f628x" ;; - x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk) + x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk | geminilake) spk_unified_platform="x64" ;; alpine | alpine4k ) From d0d4053d9faa80f7ad6c958e125062bb00bfeef0 Mon Sep 17 00:00:00 2001 From: Anatoly Antonov Date: Thu, 10 Jun 2021 15:06:08 +0200 Subject: [PATCH 2/2] Add purley and v1000 support in include/pkg_util.sh --- include/pkg_util.sh | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/include/pkg_util.sh b/include/pkg_util.sh index 1bbb08b..df43100 100755 --- a/include/pkg_util.sh +++ b/include/pkg_util.sh @@ -80,6 +80,8 @@ pkg_get_platform() { # [path of env.mak (default: /env.mak)] BROADWELL) arch="broadwell" ;; KVMX64) arch="kvmx64" ;; GRANTLEY) arch="grantley" ;; + PURLEY) arch="purley" ;; + V1000) arch="v1000" ;; DOCKERX64) arch="dockerx64" ;; *) arch="" ;; esac @@ -93,8 +95,8 @@ plat_to_unified_plat() { local unified_plat= case "$plat" in - x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk | geminilake) - unified_plat="x86 bromolow cedarview avoton braswell broadwell dockerx64 kvmx64 grantley denverton apollolake broadwellnk geminilake" + x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk | purley | v1000 | geminilake) + unified_plat="x86 bromolow cedarview avoton braswell broadwell dockerx64 kvmx64 grantley denverton apollolake broadwellnk purley v1000 geminilake" ;; # alpine and alpine4k use same define. alpine | alpine4k ) @@ -112,7 +114,7 @@ plat_to_family() { local family= case "$plat" in - x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk | geminilake) + x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk | purley | v1000 | geminilake) family="x86_64" ;; evansport ) @@ -217,7 +219,7 @@ pkg_get_spk_unified_platform() { # [path of env.mak (default: /env.mak)] 88f6281) spk_unified_platform="88f628x" ;; - x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk | geminilake) + x86 | bromolow | cedarview | avoton | braswell | broadwell | dockerx64 | kvmx64 | grantley | denverton | apollolake | broadwellnk | purley | v1000 | geminilake) spk_unified_platform="x64" ;; alpine | alpine4k )