From 971d232e19f13ef6d39a6713a9ec9da20d359545 Mon Sep 17 00:00:00 2001 From: Ting Liu Date: Sat, 9 Jan 2016 14:43:17 +0800 Subject: ceetm: install ceetm.ko into /lib/modules/ kernel-module-ceetm will be created to package ceetm.ko by default. Signed-off-by: Ting Liu Signed-off-by: Zhenhua Luo Signed-off-by: Otavio Salvador --- recipes-kernel/ceetm/ceetm_git.bb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'recipes-kernel') 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)" -- cgit v1.2.3-54-g00ecf