diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-Supply-firmware-at-build-time.patch')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-Supply-firmware-at-build-time.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-Supply-firmware-at-build-time.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-Supply-firmware-at-build-time.patch new file mode 100644 index 00000000..dcc65ed6 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0001-Supply-firmware-at-build-time.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From e58226a399be7cf2cc6d91b66facb65d7dfb5018 Mon Sep 17 00:00:00 2001 | ||
2 | From: Anuj Mittal <anuj.mittal@intel.com> | ||
3 | Date: Tue, 20 Aug 2019 15:40:18 +0800 | ||
4 | Subject: [PATCH] Supply firmware at build time | ||
5 | |||
6 | We'd like to supply firmware when fetching the sources. Disable runtime | ||
7 | fetching and point to fetched firmware instead. | ||
8 | |||
9 | Upstream-Status: Submitted | ||
10 | |||
11 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
12 | |||
13 | --- | ||
14 | inference-engine/cmake/dependencies.cmake | 18 ------------------ | ||
15 | 1 file changed, 18 deletions(-) | ||
16 | |||
17 | diff --git a/inference-engine/cmake/dependencies.cmake b/inference-engine/cmake/dependencies.cmake | ||
18 | index 64435ca..217fbc9 100644 | ||
19 | --- a/inference-engine/cmake/dependencies.cmake | ||
20 | +++ b/inference-engine/cmake/dependencies.cmake | ||
21 | @@ -37,24 +37,6 @@ else() | ||
22 | set(MODELS_BRANCH "master") | ||
23 | endif() | ||
24 | |||
25 | -if (ENABLE_MYRIAD) | ||
26 | - RESOLVE_DEPENDENCY(VPU_FIRMWARE_MA2450 | ||
27 | - ARCHIVE_UNIFIED firmware_ma2450_491.zip | ||
28 | - TARGET_PATH "${TEMP}/vpu/firmware/ma2450" | ||
29 | - ENVIRONMENT "VPU_FIRMWARE_MA2450" | ||
30 | - FOLDER) | ||
31 | - debug_message(STATUS "ma2450=" ${VPU_FIRMWARE_MA2450}) | ||
32 | -endif () | ||
33 | - | ||
34 | -if (ENABLE_MYRIAD) | ||
35 | - RESOLVE_DEPENDENCY(VPU_FIRMWARE_MA2480 | ||
36 | - ARCHIVE_UNIFIED firmware_ma2480_mdk_R7_9.zip | ||
37 | - TARGET_PATH "${TEMP}/vpu/firmware/ma2480" | ||
38 | - ENVIRONMENT "VPU_FIRMWARE_MA2480" | ||
39 | - FOLDER) | ||
40 | - debug_message(STATUS "ma2480=" ${VPU_FIRMWARE_MA2480}) | ||
41 | -endif () | ||
42 | - | ||
43 | ## enable cblas_gemm from OpenBLAS package | ||
44 | if (GEMM STREQUAL "OPENBLAS") | ||
45 | if(NOT BLAS_LIBRARIES OR NOT BLAS_INCLUDE_DIRS) | ||