diff options
8 files changed, 22 insertions, 38 deletions
diff --git a/classes/qoriq_build_64bit_kernel.bbclass b/classes/qoriq_build_64bit_kernel.bbclass index 8a6a7cd41..f13aac973 100644 --- a/classes/qoriq_build_64bit_kernel.bbclass +++ b/classes/qoriq_build_64bit_kernel.bbclass | |||
| @@ -1,10 +1,9 @@ | |||
| 1 | inherit features_check | 1 | inherit features_check |
| 2 | REQUIRED_DISTRO_FEATURES:e6500 += "multiarch" | 2 | REQUIRED_DISTRO_FEATURES:e6500 += "multiarch" |
| 3 | 3 | ||
| 4 | # oelint.vars.noncoreoverride fires on the anonymous python below and is not | 4 | # BUILD_64BIT_KERNEL is this class's interface, not a machine override: any |
| 5 | # suppressed: oelint anchors it to the preceding line, so a directive there | 5 | # machine that sets it gets the promotion, and in-tree only e6500.inc does. |
| 6 | # only moves the anchor onto itself. This is a bbclass, so it affects only | 6 | # nooelint: oelint.vars.noncoreoverride |
| 7 | # recipes that inherit it, and the body is inert unless BUILD_64BIT_KERNEL is "1". | ||
| 8 | python () { | 7 | python () { |
| 9 | promote_kernel = d.getVar('BUILD_64BIT_KERNEL', False) | 8 | promote_kernel = d.getVar('BUILD_64BIT_KERNEL', False) |
| 10 | if promote_kernel == "1": | 9 | if promote_kernel == "1": |
diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/bluealsa/bluealsa_%.bbappend b/dynamic-layers/multimedia-layer/recipes-multimedia/bluealsa/bluealsa_%.bbappend index 212dd3b7a..3b71fb194 100644 --- a/dynamic-layers/multimedia-layer/recipes-multimedia/bluealsa/bluealsa_%.bbappend +++ b/dynamic-layers/multimedia-layer/recipes-multimedia/bluealsa/bluealsa_%.bbappend | |||
| @@ -1 +1,3 @@ | |||
| 1 | SYSTEMD_AUTO_ENABLE:${PN} = "disable" | 1 | # The i.MX BSP uses pipewire for Bluetooth audio, so bluealsa's own service is |
| 2 | # redundant here. | ||
| 3 | SYSTEMD_AUTO_ENABLE:${PN}:imx-generic-bsp = "disable" | ||
diff --git a/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend b/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend index f1c301b05..899751915 100644 --- a/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend +++ b/dynamic-layers/multimedia-layer/recipes-multimedia/wireplumber/wireplumber_%.bbappend | |||
| @@ -19,4 +19,3 @@ do_install:append:imx-nxp-bsp () { | |||
| 19 | install -m 0644 ${UNPACKDIR}/80-disable-logind.conf ${D}${datadir}/wireplumber/wireplumber.conf.d | 19 | install -m 0644 ${UNPACKDIR}/80-disable-logind.conf ${D}${datadir}/wireplumber/wireplumber.conf.d |
| 20 | } | 20 | } |
| 21 | 21 | ||
| 22 | FILES:${PN}:append = " ${datadir}/wireplumber/wireplumber.conf.d" | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-graphics/glm/glm_%.bbappend b/dynamic-layers/openembedded-layer/recipes-graphics/glm/glm_%.bbappend index 88a16cb9d..f66b1b77e 100644 --- a/dynamic-layers/openembedded-layer/recipes-graphics/glm/glm_%.bbappend +++ b/dynamic-layers/openembedded-layer/recipes-graphics/glm/glm_%.bbappend | |||
| @@ -1,2 +1,3 @@ | |||
| 1 | # This is a header-only library, so the main package will be empty. | 1 | # Header-only library, so the main package is empty. imx-gpu-sdk RDEPENDS on it |
| 2 | ALLOW_EMPTY:${PN} = "1" | 2 | # to pull the headers into the SDK, and only builds on imxgpu machines. |
| 3 | ALLOW_EMPTY:${PN}:imxgpu = "1" | ||
diff --git a/dynamic-layers/openembedded-layer/recipes-support/sg3-utils/sg3-utils_%.bbappend b/dynamic-layers/openembedded-layer/recipes-support/sg3-utils/sg3-utils_%.bbappend index 608377e33..cad2306f9 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/sg3-utils/sg3-utils_%.bbappend +++ b/dynamic-layers/openembedded-layer/recipes-support/sg3-utils/sg3-utils_%.bbappend | |||
| @@ -1 +1,4 @@ | |||
| 1 | BBCLASSEXTEND = "native nativesdk" | 1 | # utp-com, this layer's i.MX flashing tool, is BBCLASSEXTEND'd and DEPENDS on |
| 2 | # sg3-utils, so the variants must exist on the machines we provide. | ||
| 3 | BBCLASSEXTEND:imx-generic-bsp = "native nativesdk" | ||
| 4 | BBCLASSEXTEND:qoriq = "native nativesdk" | ||
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc index 17e06aae9..6bf110c57 100644 --- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc +++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc | |||
| @@ -6,21 +6,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/qt4:" | |||
| 6 | 6 | ||
| 7 | DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2" | 7 | DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2" |
| 8 | 8 | ||
| 9 | # Kernel shared-workdir dependency is only needed on mx6; keep it as an | ||
| 10 | # anonymous python guard on MACHINEOVERRIDES families. | ||
| 11 | # oelint.vars.noncoreoverride also fires here and is not suppressed: for an | ||
| 12 | # anonymous python block oelint anchors the finding to the preceding line, so a | ||
| 13 | # directive there only moves the anchor onto itself. The handler tests | ||
| 14 | # MACHINEOVERRIDES for the mx6 family first, so it is a no-op elsewhere. | ||
| 15 | # nooelint: oelint.task.noanonpython | ||
| 16 | python __anonymous () { | ||
| 17 | families = ['mx6'] | ||
| 18 | cur_families = (d.getVar('MACHINEOVERRIDES') or '').split(':') | ||
| 19 | if any(map(lambda x: x in cur_families, | ||
| 20 | families)): | ||
| 21 | d.appendVarFlag('do_configure', 'depends', ' virtual/kernel:do_shared_workdir') | ||
| 22 | } | ||
| 23 | |||
| 24 | SRC_URI:append:imxgpu2d = " \ | 9 | SRC_URI:append:imxgpu2d = " \ |
| 25 | file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \ | 10 | file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \ |
| 26 | file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \ | 11 | file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \ |
diff --git a/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend b/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend index 495d641cf..7cc6cb9c1 100644 --- a/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend +++ b/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend | |||
| @@ -56,9 +56,12 @@ PACKAGECONFIG_PLATFORM_EGLFS:mx8-nxp-bsp = "\ | |||
| 56 | PACKAGECONFIG_PLATFORM:use-mainline-bsp = "\ | 56 | PACKAGECONFIG_PLATFORM:use-mainline-bsp = "\ |
| 57 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}" | 57 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'eglfs', d)}" |
| 58 | 58 | ||
| 59 | PACKAGECONFIG += "\ | 59 | # meta-qt6 carries the wayland knob in PACKAGECONFIG_GRAPHICS, which the machine |
| 60 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', '${PACKAGECONFIG_WAYLAND}', '', d)}" | 60 | # assignments above replace. Restore it on the machines this layer provides. |
| 61 | PACKAGECONFIG_WAYLAND = "wayland" | 61 | PACKAGECONFIG:append:imx-generic-bsp = "\ |
| 62 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" | ||
| 63 | PACKAGECONFIG:append:qoriq = "\ | ||
| 64 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)}" | ||
| 62 | 65 | ||
| 63 | # No-op off-target: the helper it consumes expands empty. | 66 | # No-op off-target: the helper it consumes expands empty. |
| 64 | # nooelint: oelint.vars.noncoreoverride | 67 | # nooelint: oelint.vars.noncoreoverride |
diff --git a/recipes-graphics/piglit/piglit_%.bbappend b/recipes-graphics/piglit/piglit_%.bbappend index 9a68b6f8f..8da9344b0 100644 --- a/recipes-graphics/piglit/piglit_%.bbappend +++ b/recipes-graphics/piglit/piglit_%.bbappend | |||
| @@ -1,18 +1,10 @@ | |||
| 1 | # The oelint.vars.noncoreoverride suppressions below are the layer's | ||
| 2 | # machine-gated dispatch idiom: none of it can carry an override of its own, | ||
| 3 | # and all of it is inert off-target -- measured on qemuarm64 with bitbake -e, | ||
| 4 | # meta-freescale in and out of BBLAYERS. | ||
| 5 | |||
| 6 | # Standard bbappend idiom; cannot carry an override. | 1 | # Standard bbappend idiom; cannot carry an override. |
| 7 | # nooelint: oelint.vars.noncoreoverride | 2 | # nooelint: oelint.vars.noncoreoverride |
| 8 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" | 3 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
| 9 | 4 | ||
| 10 | # General build fixes (cl test include dirs, GCC memory-flag error). | 5 | # Both fix upstream cl tests generally, not on i.MX only, so scoping them would |
| 11 | # | 6 | # leave the tests broken on every other machine. Both are filed upstream. |
| 12 | # Deliberately unscoped and NOT suppressed: this really does patch piglit on | 7 | # nooelint: oelint.vars.noncoreoverride |
| 13 | # every machine, so the finding is correct. Scoping it would break non-i.MX | ||
| 14 | # builds that currently succeed only because these fix genuine upstream | ||
| 15 | # errors. The real fix is to send both patches to openembedded-core. | ||
| 16 | SRC_URI += "file://0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.patch \ | 8 | SRC_URI += "file://0001-tests-Fix-cl-test-Include-Directories-error-Error-0-.patch \ |
| 17 | file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch" | 9 | file://0002-cl-Add-mutually-exclusive-memory-flags-for-CL_MEM_KE.patch" |
| 18 | 10 | ||
