[meta-freescale] [meta-fsl-ppc][PATCH 9/9] asf: update revision to 16eb472
ting.liu at freescale.com
ting.liu at freescale.com
Wed Jan 7 01:55:07 PST 2015
From: Zhenhua Luo <zhenhua.luo at freescale.com>
This update to fsl sdk v1.7 release. The detailed changes
can be found at:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/asf.git/
Other changes to sync with meta-fsl-arm:
* install kernel modules to ${D}/lib/modules/${KERNEL_VERSION}/asf
* install scripts to ${D}/${libexecdir}/
* remove dependency on virtual/kernel as it inherit module.bbclass
Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
---
recipes-kernel/asf/asf_git.bb | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/recipes-kernel/asf/asf_git.bb b/recipes-kernel/asf/asf_git.bb
index 9597257..8070f5a 100644
--- a/recipes-kernel/asf/asf_git.bb
+++ b/recipes-kernel/asf/asf_git.bb
@@ -4,10 +4,8 @@ LICENSE = "GPLv2 & GPLv2+ & BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287"
SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;nobranch=1"
-SRCREV = "f107bc7dac7fe74d765dc09f66dca84951921d2c"
+SRCREV = "16eb472d6b2b34c8b605a86c469611bc8ddec1c9"
-DEPENDS="virtual/kernel"
-RDEPENDS_${PN} += "ipsec-tools"
inherit module qoriq_build_64bit_kernel
@@ -16,12 +14,16 @@ S = "${WORKDIR}/git/asfmodule"
EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
export KERNEL_PATH = "${STAGING_KERNEL_DIR}"
+INHIBIT_PACKAGE_STRIP = "1"
+
do_install(){
- mkdir -p ${D}/usr/driver/asf
- cp -rf ${S}/bin/full ${D}/usr/driver/asf
- cp -rf ${S}/bin/min ${D}/usr/driver/asf
- cp -rf ${S}/../scripts ${D}/usr/driver/asf/.
+ install -d ${D}/${libexecdir}
+ install -d ${D}/lib/modules/${KERNEL_VERSION}/asf
+ cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf
+ cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf
+ cp -rf ${S}/../scripts ${D}/${libexecdir}/
}
-FILES_${PN} += "/usr/driver/asf"
-INHIBIT_PACKAGE_STRIP = "1"
+FILES_${PN} += "${libexecdir} /lib/modules/${KERNEL_VERSION}/asf"
+RDEPENDS_${PN} += "ipsec-tools"
+
--
1.9.1
More information about the meta-freescale
mailing list