summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/isp-imx/isp-imx_4.2.2.16.0.bb
Commit message (Collapse)AuthorAgeFilesLines
* isp-imx: fix source and build directoriesLuca Ceresoli2022-06-231-9/+9
| | | | | | | | | | | | | | The source and build directories are usually ${WORKDIR}/build and ${WORKDIR}/${BP} but not always. For example when using devtool they are different, leading to install failures such as: cp: cannot stat '.../tmp/work/.../isp-imx/4.2.2.16.0-r0/build/generated/release/bin/*_test': No such file or directory Fix by using the S and B variables which always point to the correct directory. Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 6af01cbe82d06d42baeef8bd2582f26042bca9ee)
* isp-imx: use bfd linker in case of ld-is-gold DISTRO_FEATURE (gold linker)Chris Dimich2022-04-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When ld-is-gold is defined as a DISTRO_FEATURE, the gold linker is used by default, which causes the following do_compile errors to arise: | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_buffer_interface' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_surface_interface' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_seat_interface' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_output_interface' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_proxy_marshal' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_proxy_add_listener' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_proxy_destroy' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_display_flush' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_display_disconnect' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_proxy_marshal_constructor_versioned' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_compositor_interface' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_display_dispatch' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_proxy_marshal_constructor' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_display_roundtrip' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_display_connect' | ../../generated/release/lib/libvvdisplay_shared.so: error: undefined reference to 'wl_registry_interface' so use bfd linker instead. Signed-off-by: Chris Dimich <chris.dimich@boundarydevices.com>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* isp-imx: Upgrade to 4.2.2.16.0Tom Hochstein2022-01-191-0/+91
Drop the upstream patch: 0001-isp-imx-drop-use-of-__TIME__-__DATE__.patch. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>