* [PATCH] omapdrm-pvr: Use kernel mechanism for module installation.
@ 2015-05-28 11:15 Jacob Stiffler
2015-05-29 19:59 ` Denys Dmytriyenko
0 siblings, 1 reply; 2+ messages in thread
From: Jacob Stiffler @ 2015-05-28 11:15 UTC (permalink / raw)
To: meta-ti
Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
---
.../powervr-drivers/omapdrm-pvr_1.9.2253347.bb | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
index 4ef920e..39885f8 100644
--- a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
+++ b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=2b841bf
inherit module
-MACHINE_KERNEL_PR_append = "d"
+MACHINE_KERNEL_PR_append = "e"
PR = "${MACHINE_KERNEL_PR}"
BRANCH = "next"
@@ -22,7 +22,5 @@ do_compile_prepend() {
}
do_install() {
- mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/extra/
- cp ${S}/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/omapdrm_pvr.ko \
- ${D}/lib/modules/${KERNEL_VERSION}/extra/
+ make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
}
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] omapdrm-pvr: Use kernel mechanism for module installation.
2015-05-28 11:15 [PATCH] omapdrm-pvr: Use kernel mechanism for module installation Jacob Stiffler
@ 2015-05-29 19:59 ` Denys Dmytriyenko
0 siblings, 0 replies; 2+ messages in thread
From: Denys Dmytriyenko @ 2015-05-29 19:59 UTC (permalink / raw)
To: Jacob Stiffler; +Cc: meta-ti
Ack
On Thu, May 28, 2015 at 07:15:28AM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
> .../powervr-drivers/omapdrm-pvr_1.9.2253347.bb | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
> index 4ef920e..39885f8 100644
> --- a/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
> +++ b/recipes-bsp/powervr-drivers/omapdrm-pvr_1.9.2253347.bb
> @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://eurasia_km/README;beginline=13;endline=22;md5=2b841bf
>
> inherit module
>
> -MACHINE_KERNEL_PR_append = "d"
> +MACHINE_KERNEL_PR_append = "e"
> PR = "${MACHINE_KERNEL_PR}"
>
> BRANCH = "next"
> @@ -22,7 +22,5 @@ do_compile_prepend() {
> }
>
> do_install() {
> - mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/extra/
> - cp ${S}/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild/omapdrm_pvr.ko \
> - ${D}/lib/modules/${KERNEL_VERSION}/extra/
> + make -C ${STAGING_KERNEL_DIR} SUBDIRS=${B}/eurasia_km/eurasiacon/binary2_omap5430_linux_release/target/kbuild INSTALL_MOD_PATH=${D} PREFIX=${STAGING_DIR_HOST} modules_install
> }
> --
> 1.7.9.5
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-29 19:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-28 11:15 [PATCH] omapdrm-pvr: Use kernel mechanism for module installation Jacob Stiffler
2015-05-29 19:59 ` Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.