Fix two mistakes in the last commit.
First, since deepview-rt-openvx.so is moved to the main package, drop
the runtime dependency left over from the previous design.
Second, fix a typo in the install.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Including the accelerated library deepview-rt-openvx.so in a non-
accelerated package leads to the following build failure:
```
ERROR: deepview-rt-2.4.42-aarch64-r0 do_package_qa: QA Issue: /usr/lib/deepview-rt-openvx.so contained in package deepview-rt-openvx requires libOpenVX.so.1()(64bit), but no providers found in RDEPENDS:deepview-rt-openvx? [file-rdeps]
```
It makes no sense to include the library in this context, so use a
package config to exclude it.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Non-accelerated builds fail due to a dependency on libopenvx-imx:
```
ERROR: Nothing RPROVIDES 'libopenvx-imx' (but sources/meta-imx/meta-ml/recipes-libraries/deepview-rt/deepview-rt_2.4.42-aarch64.bb RDEPENDS on or otherwise requires it)
imx-gpu-viv RPROVIDES libopenvx-imx but was skipped: incompatible with machine imx8mpul-lpddr4-evk (not in COMPATIBLE_MACHINE)
imx-gpu-viv RPROVIDES libopenvx-imx but was skipped: The kernel of machine needs to have Vivante kernel driver support for this recipe to be used.
imx-gpu-viv RPROVIDES libopenvx-imx but was skipped: The kernel of machine needs to have Vivante kernel driver support for this recipe to be used.
imx-gpu-viv RPROVIDES libopenvx-imx but was skipped: incompatible with machine imx8mpul-lpddr4-evk (not in COMPATIBLE_MACHINE)
NOTE: Runtime target 'libopenvx-imx' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['libopenvx-imx']
ERROR: Required build target 'deepview-rt' has no buildable providers.
Missing or unbuildable dependency chain was: ['deepview-rt', 'libopenvx-imx']
```
Unfortunately bitbake fails on this even though it is deepview-rt-openvx
that is marked with the runtime dependency.
Avoid the problem by moving the runtime dependency to the main package.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
First, the preferred provider settings for opencl-headers and
opencl-icd-loader are upstream, so just drop them.
Second, the preferred provider settings for GPU belong in machine
config, not in distro config, so move the provider setting for
virtual/libgles3:imxgpu3d to imx-base-extend.inc.
Third, the preferred provider setting for virtual/opencl-icd is
missing, so add it.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
The library deepview-rt-openvx.so is missing from the rootfs. This is
because the package config for OpenVX is removed, which causes logic
in the install to always remove the library deepview-rt-openvx.so from
the install directory.
Move the library into a separate package for OpenVX and include it with
an SOC-specific runtime dependency.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
if no imx-lib depends, then pxp_lib.h check will fail
and imx_2d_device_pxp.c will not build in libgstfsl-1.0.so
Signed-off-by: Jun Zhu <junzhu@nxp.com>
StandAlomeMM is a PE/COFF binary produced by EDK2.
It is combined with OP-TEE to store EFI variables
in and RPMB partition of our eMMC
Signed-off-by: Jun Zhu <junzhu@nxp.com>
The tests are missing from the build for parts with GPU. This is
because the x11 package config is removed in order to avoid a build
break since the GPU drivers no longer support GLX.
Fix the problem by making the GLX tests optional.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>