aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-sato
diff options
context:
space:
mode:
authorAdeel Arshad <adeel_arshad@mentor.com>2016-12-07 11:19:58 +0500
committerAdeel Arshad <adeel_arshad@mentor.com>2016-12-07 11:19:58 +0500
commit52a87232fe5d35390891b66f76ebbdc276184fe4 (patch)
treeaa48e4f2c8278ba34b1761615b219fd10ea4cfc5 /common/recipes-sato
parenta34e16208260d1d3e6ee72ad68c3b6dfbb0519e5 (diff)
downloadmeta-amd-52a87232fe5d35390891b66f76ebbdc276184fe4.tar.gz
meta-amd-52a87232fe5d35390891b66f76ebbdc276184fe4.tar.bz2
meta-amd-52a87232fe5d35390891b66f76ebbdc276184fe4.zip
core-image-sato: assign default values
VULKAN_COMPONENTS, CODEXL_COMPONENTS needs to be assign the default values for the machine other than amdfalconx86, otherwise it generates a parsing error. Also only populate CODEXL_COMPONENTS for amdfalconx86 machine, as we do not support it for other machines. Signed-off-by: Adeel Arshad <adeel_arshad@mentor.com>
Diffstat (limited to 'common/recipes-sato')
-rw-r--r--common/recipes-sato/images/core-image-sato.bbappend5
1 files changed, 4 insertions, 1 deletions
diff --git a/common/recipes-sato/images/core-image-sato.bbappend b/common/recipes-sato/images/core-image-sato.bbappend
index dd7ff4df..0217f3b6 100644
--- a/common/recipes-sato/images/core-image-sato.bbappend
+++ b/common/recipes-sato/images/core-image-sato.bbappend
@@ -3,8 +3,11 @@ require conf/machine/include/amd-common.inc
IMAGE_INSTALL_append_amdgpu = " mesa-demos"
IMAGE_INSTALL_append_radeon = " mesa-demos"
+VULKAN_COMPONENTS = ""
+CODEXL_COMPONENTS = ""
+
VULKAN_COMPONENTS_amdfalconx86 = "glslang spirv-tools vulkan-loader-layers vulkan-tools vulkan-samples"
-CODEXL_COMPONENTS = "codexl codexl-examples"
+CODEXL_COMPONENTS_amdfalconx86 = "codexl codexl-examples"
IMAGE_INSTALL_append = "${@bb.utils.contains("INCLUDE_VULKAN", "yes", " ${VULKAN_COMPONENTS}", "", d)} \
${@bb.utils.contains("INCLUDE_CODEXL", "yes", " ${CODEXL_COMPONENTS}", "", d)} \