On Tue Feb 17, 2026 at 3:46 AM CST, Wadim Egorov via lists.yoctoproject.org 
wrote:
> Build module with KBUILD_OUTPUT to avoid TMPDIR in debug info
> (buildpaths QA). Also bump SRCREV to include upstream path/prefix-map fixes.
>
> Fixes the following warning:
>
> WARNING: ti-img-rogue-driver-25.2.6850647-r0 do_package_qa: QA Issue: File 
> /usr/lib/modules/6.12.57-g7af20799-g7af207992070/updates/.debug/pvrsrvkm.ko 
> in package ti-img-rogue-driver-dbg contains reference to TMPDIR [buildpaths]
>
> Signed-off-by: Wadim Egorov <[email protected]>
> ---
>  .../powervr-drivers/ti-img-rogue-driver_25.2.6850647.bb  | 9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git 
> a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_25.2.6850647.bb 
> b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_25.2.6850647.bb
> index 0f50026a..54c80480 100644
> --- 
> a/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_25.2.6850647.bb
> +++ 
> b/meta-ti-bsp/recipes-bsp/powervr-drivers/ti-img-rogue-driver_25.2.6850647.bb
> @@ -19,7 +19,7 @@ SRC_URI = 
> "git://git.ti.com/git/graphics/ti-img-rogue-driver.git;protocol=https;
>  
>  S = "${WORKDIR}/git"
>  
> -SRCREV = "a838ac0074db640ebd1b64be6364417b1bbca3cd"
> +SRCREV = "72723eea0cab47c20e5734c1c7b9a441ed2d74c2"
>  
>  TARGET_PRODUCT:j721e = "j721e_linux"
>  TARGET_PRODUCT:j721s2 = "j721s2_linux"
> @@ -31,7 +31,12 @@ TARGET_PRODUCT:j722s = "j722s_linux"
>  PVR_BUILD = "release"
>  PVR_WS = "lws-generic"
>  
> -EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}" BUILD=${PVR_BUILD} 
> PVR_BUILD_DIR=${TARGET_PRODUCT} WINDOW_SYSTEM=${PVR_WS}'
> +EXTRA_OEMAKE += 'KERNELDIR="${KBUILD_OUTPUT}" BUILD=${PVR_BUILD} 
> PVR_BUILD_DIR=${TARGET_PRODUCT} WINDOW_SYSTEM=${PVR_WS}'
> +
> +do_compile() {
> +    unset CC
> +    oe_runmake
> +}
>  
>  do_install() {
>      make -C ${STAGING_KERNEL_DIR} 
> M=${B}/binary_${TARGET_PRODUCT}_${PVR_WS}_${PVR_BUILD}/target_aarch64/kbuild 
> INSTALL_MOD_PATH=${D}${root_prefix} PREFIX=${STAGING_DIR_HOST} modules_install

Worth noting that this is just a backport of some functionality provided by:
a349aed7 (ti-img-rogue-*: Migrate GPU driver version 24.2 -> 25.2, 2025-11-17)

It should be fine. There were no functional changes to the kernel module
function between those two SRCREVs. It was all just Yocto specific build
modifications.

Reviewed-by: Randolph Sapp <[email protected]>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#19543): 
https://lists.yoctoproject.org/g/meta-ti/message/19543
Mute This Topic: https://lists.yoctoproject.org/mt/117854402/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to