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 369d0a0dc3)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
Anuj Mittal 2020-01-30 13:34:31 +08:00
parent 92789dcba9
commit faced19dda

View File

@ -61,7 +61,7 @@ DEPENDS += "libusb1 \
pugixml \ pugixml \
ngraph \ ngraph \
tbb \ tbb \
${@bb.utils.contains('PTEST_ENABLED', '1', 'gflags', '0', d)} \ ${@bb.utils.contains('PTEST_ENABLED', '1', 'gflags', '', d)} \
" "
COMPATIBLE_HOST = '(x86_64).*-linux' COMPATIBLE_HOST = '(x86_64).*-linux'