cmem-mod: Fix kernel module packaging for usrmerge

Message ID 20220501165828.2831061-1-raj.khem@gmail.com
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series cmem-mod: Fix kernel module packaging for usrmerge | expand

Commit Message

Khem Raj May 1, 2022, 4:58 p.m. UTC
ERROR: cmem-mod-4.20.00.01+gitAUTOINC+86269258a4-0a do_package: QA Issue: cmem-mod: Files/directories were installed but not shipped in any package:
  /lib/modules/5.10.100-g4a12bec7d3/extra/cmemk.ko

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-ti-bsp/recipes-bsp/cmem/cmem-mod_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ryan Eatmon May 2, 2022, 6:01 p.m. UTC | #1
Patch applied to master.


On 5/1/2022 11:58, Khem Raj wrote:
> ERROR: cmem-mod-4.20.00.01+gitAUTOINC+86269258a4-0a do_package: QA Issue: cmem-mod: Files/directories were installed but not shipped in any package:
>    /lib/modules/5.10.100-g4a12bec7d3/extra/cmemk.ko
> 
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>   meta-ti-bsp/recipes-bsp/cmem/cmem-mod_git.bb | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta-ti-bsp/recipes-bsp/cmem/cmem-mod_git.bb b/meta-ti-bsp/recipes-bsp/cmem/cmem-mod_git.bb
> index f7965593..ea2cc5f4 100644
> --- a/meta-ti-bsp/recipes-bsp/cmem/cmem-mod_git.bb
> +++ b/meta-ti-bsp/recipes-bsp/cmem/cmem-mod_git.bb
> @@ -8,7 +8,7 @@ PR = "${MACHINE_KERNEL_PR}"
>   
>   inherit module
>   
> -EXTRA_OEMAKE += '-f lu.mak KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" TOOLCHAIN_PREFIX="${TOOLCHAIN_PREFIX}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra"'
> +EXTRA_OEMAKE += '-f lu.mak KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" TOOLCHAIN_PREFIX="${TOOLCHAIN_PREFIX}" EXEC_DIR="${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/extra"'
>   MAKE_TARGETS = "module"
>   
>   KERNEL_MODULE_AUTOLOAD += "cmemk"
> 
> 
> 
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#14639): https://lists.yoctoproject.org/g/meta-ti/message/14639
> Mute This Topic: https://lists.yoctoproject.org/mt/90818354/6551054
> Group Owner: meta-ti+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub [reatmon@ti.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

diff --git a/meta-ti-bsp/recipes-bsp/cmem/cmem-mod_git.bb b/meta-ti-bsp/recipes-bsp/cmem/cmem-mod_git.bb
index f7965593..ea2cc5f4 100644
--- a/meta-ti-bsp/recipes-bsp/cmem/cmem-mod_git.bb
+++ b/meta-ti-bsp/recipes-bsp/cmem/cmem-mod_git.bb
@@ -8,7 +8,7 @@  PR = "${MACHINE_KERNEL_PR}"
 
 inherit module
 
-EXTRA_OEMAKE += '-f lu.mak KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" TOOLCHAIN_PREFIX="${TOOLCHAIN_PREFIX}" EXEC_DIR="${D}/lib/modules/${KERNEL_VERSION}/extra"'
+EXTRA_OEMAKE += '-f lu.mak KERNEL_INSTALL_DIR="${STAGING_KERNEL_DIR}" TOOLCHAIN_PREFIX="${TOOLCHAIN_PREFIX}" EXEC_DIR="${D}${nonarch_base_libdir}/modules/${KERNEL_VERSION}/extra"'
 MAKE_TARGETS = "module"
 
 KERNEL_MODULE_AUTOLOAD += "cmemk"