diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2021-05-04 10:49:07 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2021-05-04 14:22:03 -0300 |
commit | 963417fdaa914ee07badba4eb1fb83bf13e00403 (patch) | |
tree | 487a8f5a954a5c24214aa9e965b5d1a9909dfa7c /dynamic-layers | |
parent | 6d8bad4a08dbc404774091257ee859b51adbb0ff (diff) | |
download | meta-freescale-963417fdaa914ee07badba4eb1fb83bf13e00403.tar.gz |
opencv: Fix SRC_URI
The SRC_URI is updated for the base recipe, but the copy of the SRC_URI
in the override section doesn't account for this, leading to a build break:
```
| -- wechat_qrcode: Download: detect.caffemodel
| CMake Error at /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-mx8mp-fsl-linux/opencv/4.5.2.imx-r0/git/cmake/OpenCVDownload.cmake:161 (message):
| Not going to download detect.caffemodel
```
Additionally, the SRC_URI is long and complex, and copying it in our
override section does make problems like this more likely.
Fix the problem and simplify maintenance by replacing the SRC_URI copy
with a targetted override. The override section now shows only the
changes to SRC_URI.
The fix includes these related changes:
- a new patch file is added in the base recipe and is now copied locally
- the override for SRCREV_contrib is redundant and is dropped
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 7462ae5636ebd8551350253d2bb1c3047431ba0d)
Diffstat (limited to 'dynamic-layers')
0 files changed, 0 insertions, 0 deletions