diff options
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch')
-rw-r--r-- | dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch new file mode 100644 index 00000000..09107391 --- /dev/null +++ b/dynamic-layers/openembedded-layer/recipes-support/opencv/files/0003-Supply-firmware-at-build-time.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From f4533f5bfce9daee08a4fea61736315fbe4ad6db Mon Sep 17 00:00:00 2001 | ||
2 | From: Anuj Mittal <anuj.mittal@intel.com> | ||
3 | Date: Fri, 27 Sep 2019 11:34:36 +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 | inference-engine/cmake/dependencies.cmake | 18 ------------------ | ||
14 | 1 file changed, 18 deletions(-) | ||
15 | |||
16 | diff --git a/inference-engine/cmake/dependencies.cmake b/inference-engine/cmake/dependencies.cmake | ||
17 | index d493426..666ace6 100644 | ||
18 | --- a/inference-engine/cmake/dependencies.cmake | ||
19 | +++ b/inference-engine/cmake/dependencies.cmake | ||
20 | @@ -22,24 +22,6 @@ if(COMMAND get_linux_name) | ||
21 | get_linux_name(LINUX_OS_NAME) | ||
22 | endif() | ||
23 | |||
24 | -if (ENABLE_MYRIAD) | ||
25 | - RESOLVE_DEPENDENCY(VPU_FIRMWARE_MA2450 | ||
26 | - ARCHIVE_UNIFIED firmware_ma2450_676.zip | ||
27 | - TARGET_PATH "${TEMP}/vpu/firmware/ma2450" | ||
28 | - ENVIRONMENT "VPU_FIRMWARE_MA2450" | ||
29 | - FOLDER) | ||
30 | - debug_message(STATUS "ma2450=" ${VPU_FIRMWARE_MA2450}) | ||
31 | -endif () | ||
32 | - | ||
33 | -if (ENABLE_MYRIAD) | ||
34 | - RESOLVE_DEPENDENCY(VPU_FIRMWARE_MA2X8X | ||
35 | - ARCHIVE_UNIFIED firmware_ma2x8x_mdk_R8_9.zip | ||
36 | - TARGET_PATH "${TEMP}/vpu/firmware/ma2x8x" | ||
37 | - ENVIRONMENT "VPU_FIRMWARE_MA2X8X" | ||
38 | - FOLDER) | ||
39 | - debug_message(STATUS "ma2x8x=" ${VPU_FIRMWARE_MA2X8X}) | ||
40 | -endif () | ||
41 | - | ||
42 | ## enable cblas_gemm from OpenBLAS package | ||
43 | if (GEMM STREQUAL "OPENBLAS") | ||
44 | if(NOT BLAS_LIBRARIES OR NOT BLAS_INCLUDE_DIRS) | ||