Fix the dependency to be added when ptests are not enabled. Fixes:

| ERROR: Nothing PROVIDES '0' (but 
/meta-intel/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb
 DEPENDS on or otherwise requires it)
| ERROR: Required build target 'dldt-inference-engine' has no buildable 
providers.
| Missing or unbuildable dependency chain was: ['dldt-inference-engine', '0']

Signed-off-by: Anuj Mittal <[email protected]>
---
 .../recipes-support/opencv/dldt-inference-engine_2019r3.1.bb    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb
 
b/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb
index 0914a90a..9977474f 100644
--- 
a/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb
+++ 
b/dynamic-layers/openembedded-layer/recipes-support/opencv/dldt-inference-engine_2019r3.1.bb
@@ -62,7 +62,7 @@ DEPENDS += "libusb1 \
             pugixml \
             ngraph \
             tbb \
-            ${@bb.utils.contains('PTEST_ENABLED', '1', 'gflags', '0', d)} \
+            ${@bb.utils.contains('PTEST_ENABLED', '1', 'gflags', '', d)} \
             "
 
 COMPATIBLE_HOST = '(x86_64).*-linux'
-- 
2.21.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#6352): 
https://lists.yoctoproject.org/g/meta-intel/message/6352
Mute This Topic: https://lists.yoctoproject.org/mt/70265919/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to