From 7eb08cfff49e69a0a8af2ba922dee54d4b76e2bc Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Tue, 8 Apr 2025 09:53:22 +0200 Subject: qoriq: Add qoriq-nxp-bsp / qoriq-mainline-bsp overrides Add machine overrides similar to imx-nxp-bsp and imx-mainline-bsp. Signed-off-by: Alexander Stein --- conf/machine/include/qoriq-base.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/conf/machine/include/qoriq-base.inc b/conf/machine/include/qoriq-base.inc index 4340c942..4a42a8bd 100644 --- a/conf/machine/include/qoriq-base.inc +++ b/conf/machine/include/qoriq-base.inc @@ -43,6 +43,8 @@ EXTRA_IMAGEDEPENDS += "u-boot qoriq-cst-native" MACHINEOVERRIDES =. "qoriq:" +INHERIT += "machine-overrides-extender" + # Machines or distros can define which BSP it should use by default. We are # intending to default for nxp BSP by default and specific machines or # DISTROs might change it if need. @@ -51,6 +53,8 @@ MACHINEOVERRIDES =. "qoriq:" QORIQ_DEFAULT_BSP ?= "nxp" MACHINEOVERRIDES =. "use-${QORIQ_DEFAULT_BSP}-bsp:" +MACHINEOVERRIDES_EXTENDER:use-mainline-bsp = "qoriq-generic-bsp:qoriq-mainline-bsp" +MACHINEOVERRIDES_EXTENDER:use-nxp-bsp = "qoriq-generic-bsp:qoriq-nxp-bsp" # Sub-architecture support MACHINE_SOCARCH_SUFFIX ?= "" -- cgit v1.2.3-54-g00ecf From 5ea77dce34cf2d8b936a0df75bfe274d48a321ec Mon Sep 17 00:00:00 2001 From: Alexander Stein Date: Mon, 7 Apr 2025 11:40:11 +0200 Subject: alsa-state: Add qoriq-*-bsp specific configuration This asound.conf can be used for both i.MX and Layerscale platforms. But the latter don't have imx--bsp in their overrides. So add symlinks for QorIQ platforms. This makes the package for QorIQ platforms machine-specific as well. Signed-off-by: Alexander Stein --- recipes-bsp/alsa-state/alsa-state.bbappend | 1 + recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp | 1 + recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp | 1 + recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp | 1 + 4 files changed, 4 insertions(+) create mode 120000 recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp create mode 120000 recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp create mode 120000 recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp diff --git a/recipes-bsp/alsa-state/alsa-state.bbappend b/recipes-bsp/alsa-state/alsa-state.bbappend index b6194d76..c31fb04b 100644 --- a/recipes-bsp/alsa-state/alsa-state.bbappend +++ b/recipes-bsp/alsa-state/alsa-state.bbappend @@ -2,3 +2,4 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" PACKAGE_ARCH:imx-generic-bsp = "${MACHINE_ARCH}" +PACKAGE_ARCH:qoriq-generic-bsp = "${MACHINE_ARCH}" diff --git a/recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp b/recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp new file mode 120000 index 00000000..febb30e2 --- /dev/null +++ b/recipes-bsp/alsa-state/alsa-state/qoriq-generic-bsp @@ -0,0 +1 @@ +imx-generic-bsp \ No newline at end of file diff --git a/recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp b/recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp new file mode 120000 index 00000000..b43cbb34 --- /dev/null +++ b/recipes-bsp/alsa-state/alsa-state/qoriq-mainline-bsp @@ -0,0 +1 @@ +imx-mainline-bsp \ No newline at end of file diff --git a/recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp b/recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp new file mode 120000 index 00000000..022b2509 --- /dev/null +++ b/recipes-bsp/alsa-state/alsa-state/qoriq-nxp-bsp @@ -0,0 +1 @@ +imx-nxp-bsp \ No newline at end of file -- cgit v1.2.3-54-g00ecf