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:06:25 -0300 |
commit | 7462ae5636ebd8551350253d2bb1c3047431ba0d (patch) | |
tree | 393e16c600247926640bbae3c58b0ab7990ebe58 /classes/imx-boot-container.bbclass | |
parent | a5fc68872680f82e1e4b12d0ffd4be7b9046d372 (diff) | |
download | meta-freescale-7462ae5636ebd8551350253d2bb1c3047431ba0d.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>
Diffstat (limited to 'classes/imx-boot-container.bbclass')
0 files changed, 0 insertions, 0 deletions