The NXP BSP is moving from CAF to github, so update the recipes URLs and set PREMIRRORS to override the SRC_URIs.
Also update the paths to point to git.codelinaro.org
Signed-off-by: Valentin Jec <jec.valentin@nxp.com>
Install v2xSe.h to that standard location /usr/include. Otherwise, now
that vtest builds without v2xsehsmConfig.cmake (to avoid other issues),
vtest fails to find the header:
```
| /opt2/hardknott/build/tmp/work/cortexa35-poky-linux/vtest/git-r0/git/src/se/SEdevicemanagement.c:45:10: fatal error: v2xSe.h: No such file or directory
| 45 | #include <v2xSe.h>
| | ^~~~~~~~~
| compilation terminated.
```
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
During a Yocto build on zeus, vtest fails during compile with the
following errors:
```
aarch64-poky-linux-gcc: error: /home/bamboo/build/zeus-5.4.70-2.3.3/fsl-imx-internal-xwayland/mx8/temp_build_dir/build_fsl-imx-internal-xwayland/tmp/work/aarch64-poky-linux/v2xsehsm/0.5-r0/build/libv2xCrypto.so.0.5.0: No such file or directory
aarch64-poky-linux-gcc: error: /home/bamboo/build/zeus-5.4.70-2.3.3/fsl-imx-internal-xwayland/mx8/temp_build_dir/build_fsl-imx-internal-xwayland/tmp/work/aarch64-poky-linux/v2xsehsm/0.5-r0/recipe-sysroot/usr/lib/hsm_lib.a: No such file or directory
```
On hardknott, vtest fails earlier during configure:
```
| CMake Error in CMakeLists.txt:
| Imported target "v2xCrypto" includes non-existent path
|
| "/opt2/hardknott/build/tmp/work/cortexa35-poky-linux/v2xsehsm/0.5-r0/git/include"
```
The cmake config file generated by v2xsehsm is not usable by vtest since it
refers to the v2xsehsm work folder, which is not guaranteed to exist and
causes the errors above.
Dropping the config file seems to be fine except for the location of the
header file v2xSe.h, fixed in the next commit.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
This commit disables profiling capabilities but provides the option to enable
them as needed through local.conf.
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
The layer provides support for building the Vehicle-to-Everything (V2X) solution,
using internal HSM instead of external chips.
Main components:
- 'ecdsa-lib-imx' and 'v2xsehsm': libraries responsible for communication
between V2X stack and the internal V2X FW, running on i.MX 8DXL V2X accelerator.
- 'imx-seco' is containing the SECO FW as well as the V2X FW on which
V2X cryptography and HSM capabilities are implemented.
- 'imx-seco-libs' is the library implementing the HSM API by controlling the SECO
and V2X FW.
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>