imx-system-manager is qualified with 12.3, but meta-arm uses 13.3, so
copy the older recipe to the BSP.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit b816ea522d3acb66ca20c184e4d3f3ad4271f87c)
After adding the pkg-config-native link, the build now fails to find
wayland-scanner:
```
Pkg-config binary for build machine specified from cross file, native file, or env var as ['pkg-config-native']
Found pkg-config: YES (/opt/fsl-imx-internal-xwayland/6.12-styhead/sysroots/x86_64-pokysdk-linux/usr/bin/pkg-config-native) 0.29.2
Determining dependency 'wayland-scanner' with pkg-config executable '/opt/fsl-imx-internal-xwayland/6.12-styhead/sysroots/x86_64-pokysdk-linux/usr/bin/pkg-config-native'
env[PKG_CONFIG_PATH]:
env[PKG_CONFIG_SYSROOT_DIR]: /opt/fsl-imx-internal-xwayland/6.12-styhead/sysroots/x86_64-pokysdk-linux
env[PKG_CONFIG]: /opt/fsl-imx-internal-xwayland/6.12-styhead/sysroots/x86_64-pokysdk-linux/usr/bin/pkg-config-native
-----------
Called: `/opt/fsl-imx-internal-xwayland/6.12-styhead/sysroots/x86_64-pokysdk-linux/usr/bin/pkg-config-native --modversion wayland-scanner` -> 1
stderr:
Package wayland-scanner was not found in the pkg-config search path.
Perhaps you should add the directory containing `wayland-scanner.pc'
to the PKG_CONFIG_PATH environment variable
No package 'wayland-scanner' found
```
The problem is fixed as the error suggests by setting `PKG_CONFIG_PATH`.
This appears to be the reason for pkg-config-native, to make a wrapper
around the native tool that uses the native .pc files.
Fix the problem by copying the native wrapper do_install logic and
adapting it for the SDK.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Building weston with an SDK fails to find pkg-config-native:
```
Configuring version.h using configuration
Did not find pkg-config by name 'pkg-config-native'
Found pkg-config: NO
```
The build for nativesdk-pkgconfig generates a pkg-config binary, but
not the pkg-config-native binary that meson wants.
A simple link fixes the problem.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
(cherry picked from commit 53453fe84902e55f8f270fdba1c0f587eacf6bac)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
QA Issue: nativesdk-qemu-user-mips rdepends on nativesdk-bash, but it isn't a build dependency,
missing nativesdk-bash in DEPENDS or PACKAGECONFIG? [build-deps]
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
Upgrade the fork recipe. Also, rename the recipe to follow i.MX fork
recipe naming standard of using the same recipe name with a
.imx-annotated version.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Use utils.contains to fix image build fetch nativesdk, like this :
ERROR: Nothing PROVIDES 'nativesdk-xen-tools'
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
The file is not included in our modified SRC_URI, which causes the
install failure:
```
| install: cannot stat 'tmp/work/x86_64-linux/qemu-system-native/8.2.2.imx/powerpc_rom.bin': No such file or directory
```
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>