From faced19dda5332cce9164903b250db5aa9b86259 Mon Sep 17 00:00:00 2001 From: Anuj Mittal Date: Thu, 30 Jan 2020 13:34:31 +0800 Subject: dldt-inference-engine: fix DEPENDS 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'] (cherry picked from commit 369d0a0dc3666a757fb0a0069090287f8c023f75) Signed-off-by: Anuj Mittal --- .../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 b9767517..1074cf6d 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 @@ -61,7 +61,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' -- cgit v1.2.3-54-g00ecf