summaryrefslogtreecommitdiffstats
path: root/recipes-fsl/packagegroups
Commit message (Collapse)AuthorAgeFilesLines
* Rework recipes to use imx-generic-bsp more extensivelyOtavio Salvador2022-02-211-1/+1
| | | | | | | | | | | | | | | | | | This rework the recipes making use of new imx-generic-bsp override; it has been applied to: - alsa-state - firmware-imx - imx-kobs - imx-test - imx-uuc - linux-fslc - linux-fslc-lts - packagegroup-fsl-mfgtool - u-boot-fslc - uuu Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* packagegroup-fsl-isp: Make is machine specificKhem Raj2021-11-171-1/+1
| | | | | | | MACHINE_SOCARCH is not universally defined and results in errors on non-fsl machines. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-fsl-isp: Mark as MACHINE_SOCARCH specificMax Krummenacher2021-11-171-0/+2
| | | | | | | | | | | | | openembedded-core, commit 5bf3e447d2 ("package: Add sanity check for allarch packagegroups") added a check which now emits an error. Fix that. | ERROR: packagegroup-fsl-isp-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (basler-camera to libdaa3840-30mc1) | ERROR: packagegroup-fsl-isp-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (basler-camera-dev to libdaa3840-30mc-dev) | ERROR: packagegroup-fsl-isp-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (basler-camera-dbg to libdaa3840-30mc-dbg) | ERROR: packagegroup-fsl-isp-1.0-r0 do_package_write_ipk: An allarch packagegroup shouldn't depend on packages which are dynamically renamed (basler-camera-dev to libdaa3840-30mc-dev) Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* qcacld: Drop BSP supportTom Hochstein2021-09-092-25/+0
| | | | | | | NXP has dropped support for qcacld, plus the code is not compatible with 5.10, so drop BSP support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* layer: Convert to new override syntaxKhem Raj2021-08-125-10/+10
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* packagegroup-fsl-opencv-imx: add packagegroupChris Dimich2021-03-041-0/+12
| | | | | | Add a packagegroup to support opencv i.MX packages. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
* packagegroup-fsl-isp: add packagegroupChris Dimich2021-03-041-0/+14
| | | | | | Add a packagegroup to support ISP and Basler Camera. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
* packagegroup-fsl-mfgtool: Allow usage with use-mainline-bspSimone Agresta2020-05-141-1/+1
| | | | Signed-off-by: Simone Agresta <simone.agresta@bticino.it>
* qca-modules: Mark arm/aarch64 specificKhem Raj2019-06-152-3/+5
| | | | | | | | These modules rdepends on qca-tools which is currently arm/aarch64 and glibc specific, therefore mark the recipes depending on qca-tools so as well. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qca-tools: Disable for musl hostsKhem Raj2019-05-212-2/+3
| | | | | | | The prebuilt tools are for glibc based targets no point in building for musl Signed-off-by: Khem Raj <raj.khem@gmail.com>
* qcacld: Fix missing firmware and tools packagesTom Hochstein2019-04-052-0/+22
| | | | | | | | The RDEPENDS from kernel-module-qca* is not working, so that firmware-qca* and qca-tools are missing from the image. Use a packagegroup instead as a workaround. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* recipes: Mark compatible machines as restricted by dependenciesKhem Raj2018-09-281-0/+1
| | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* packagegroup-fsl-mfgtool: Stop using base_containsOtavio Salvador2016-05-161-1/+1
| | | | | | | | The base_contains function is deprecated and we ought to use bb.utils.contains instead. Change-Id: I62e6adea55e2eaaf3d1c58470dd400dad4168b5b Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* packagegroup-fsl-mfgtool: Add e2fsprogs-e2fsck in extfs featureOtavio Salvador2015-07-281-1/+2
| | | | | | | | When 'extfs' support is enabled, e2fsprogs-e2fsck should be included as well so filesystem consistency can be executed during the installation process. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Move meta-fsl-arm content to layer rootOtavio Salvador2015-07-161-0/+47
The meta-fsl-arm is going to be used as the base for this layer. It contains a clean history and allowing a more granullar set of changes. This commit is just a rename of all contents of meta-fsl-arm subdirectory to this layer's root, subsequent changes are based on top of that. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>