From: Zhenhua Luo Date: Wed, 7 Jan 2015 09:55:07 +0000 (+0800) Subject: asf: update revision to 16eb472 X-Git-Tag: 2.1~534^2~40 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8362551c5d623b14825ad16b6f5d9a6c9ff6a675;p=meta-freescale.git asf: update revision to 16eb472 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 --- diff --git a/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb b/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb index 9597257c..8070f5a2 100644 --- a/meta-fsl-ppc/recipes-kernel/asf/asf_git.bb +++ b/meta-fsl-ppc/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" +