[meta-ti] Jacob Stiffler : omapdrm-pvr: Use kernel mechanism for module installation.

Arago Project git git at arago-project.org
Mon Jun 1 08:03:45 PDT 2015


Module: meta-ti
Branch: daisy
Commit: 2621fcec21de6c7c3290f301c9316c37af944184
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=2621fcec21de6c7c3290f301c9316c37af944184

Author: Jacob Stiffler <j-stiffler at ti.com>
Date:   Thu May 28 17:15:28 2015 +0000

omapdrm-pvr: Use kernel mechanism for module installation.

Signed-off-by: Jacob Stiffler <j-stiffler at ti.com>
Signed-off-by: Denys Dmytriyenko <denys at ti.com>

---

 .../powervr-drivers/omapdrm-pvr_1.9.2253347.bb     |    6 ++----
 1 files 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
 }



More information about the meta-ti mailing list