aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <ting.liu@nxp.com>2016-01-09 14:43:17 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2016-04-19 15:03:23 -0300
commit971d232e19f13ef6d39a6713a9ec9da20d359545 (patch)
treed0f48a116ab705f9b3d090d98e65f9c6a6b5e5ce
parent4a149b78fb2c55e464dd2d6657b5a04fe95eef9f (diff)
downloadmeta-freescale-971d232e19f13ef6d39a6713a9ec9da20d359545.tar.gz
meta-freescale-971d232e19f13ef6d39a6713a9ec9da20d359545.tar.bz2
meta-freescale-971d232e19f13ef6d39a6713a9ec9da20d359545.zip
ceetm: install ceetm.ko into /lib/modules/
kernel-module-ceetm will be created to package ceetm.ko by default. Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
-rw-r--r--recipes-kernel/ceetm/ceetm_git.bb10
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb
index 2d483192..228daddb 100644
--- a/recipes-kernel/ceetm/ceetm_git.bb
+++ b/recipes-kernel/ceetm/ceetm_git.bb
@@ -14,13 +14,13 @@ export KERNEL_PATH = "${STAGING_KERNEL_DIR}"
do_configure[depends] += "virtual/kernel:do_shared_workdir"
do_install(){
- mkdir -p ${D}/usr/driver/ceetm
- mkdir -p ${D}/${libdir}/tc
- cp ${S}/bin/ceetm.ko ${D}/usr/driver/ceetm
- cp ${S}/bin/q_ceetm.so ${D}/${libdir}/tc/.
+ install -d ${D}/lib/modules/${KERNEL_VERSION}/extra
+ mkdir -p ${D}/${libdir}/tc
+ install -m 644 ${S}/bin/ceetm.ko ${D}/lib/modules/${KERNEL_VERSION}/extra/
+ cp ${S}/bin/q_ceetm.so ${D}/${libdir}/tc/
}
-FILES_${PN} += "/usr/driver/ceetm ${libdir}/tc"
+FILES_${PN} += "${libdir}/tc"
INHIBIT_PACKAGE_STRIP = "1"
COMPATIBLE_MACHINE = "(e6500-64b|t1040|t1042)"