aboutsummaryrefslogtreecommitdiffstats
path: root/meta-v1000
diff options
context:
space:
mode:
authorArsalan H. Awan <Arsalan_Awan@mentor.com>2019-03-11 18:10:41 +0500
committerArsalan H. Awan <Arsalan_Awan@mentor.com>2019-03-11 18:25:12 +0500
commit59cf2d82956d48c3c2a1de79e7fb58724c1fcad5 (patch)
tree7186d52c28fe9bc6671563cebc9805f7ce5805d6 /meta-v1000
parent6495c231b4261485e907d80139d3b9cac9ba6676 (diff)
downloadmeta-amd-59cf2d82956d48c3c2a1de79e7fb58724c1fcad5.tar.gz
meta-amd-59cf2d82956d48c3c2a1de79e7fb58724c1fcad5.tar.bz2
meta-amd-59cf2d82956d48c3c2a1de79e7fb58724c1fcad5.zip
v1000/opencv: install only if INCLUDE_OPENCV is set to "yes"
This introduces var INCLUDE_OPENCV into local.conf to control the inclusion of OpenCV into the image. If user needs OpenCV, they can add it by setting INCLUDE_OPENCV = "yes" in the local.conf. This helps in keeping the image size smaller if user doesn't need it. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com>
Diffstat (limited to 'meta-v1000')
-rw-r--r--meta-v1000/conf/local.conf.append.v10004
-rw-r--r--meta-v1000/conf/machine/v1000.conf2
2 files changed, 5 insertions, 1 deletions
diff --git a/meta-v1000/conf/local.conf.append.v1000 b/meta-v1000/conf/local.conf.append.v1000
index 984f9d6d..92433f25 100644
--- a/meta-v1000/conf/local.conf.append.v1000
+++ b/meta-v1000/conf/local.conf.append.v1000
@@ -51,3 +51,7 @@ INCLUDE_VULKAN ??= "no"
# MEL supports OpenCL - The Open Computing Language. In order to
# include it into your image, set the following to "yes"
INCLUDE_OPENCL ??= "no"
+
+# MEL supports OpenCV - The Open Computer Vision Library. In order to
+# include it into your image, set the following to "yes"
+INCLUDE_OPENCV ??= "no"
diff --git a/meta-v1000/conf/machine/v1000.conf b/meta-v1000/conf/machine/v1000.conf
index 9afd90e9..88460aef 100644
--- a/meta-v1000/conf/machine/v1000.conf
+++ b/meta-v1000/conf/machine/v1000.conf
@@ -17,7 +17,7 @@ require conf/machine/include/tune-v1000.inc
VULKAN_PKGS_v1000 = "amdvlk glslang spirv-tools vulkan-loader-layers rgp"
AMD_PLATFORM_SPECIFIC_PKGS_v1000 += " \
${@bb.utils.contains('INCLUDE_OPENCL', 'yes', 'opencl', '', d)} \
- opencv \
+ ${@bb.utils.contains('INCLUDE_OPENCV', 'yes', 'opencv', '', d)} \
"
include conf/machine/include/amd-common-configurations.inc