[meta-freescale] [meta-fsl-ppc ][PATCH] asf: fix configure error

b40290 at freescale.com b40290 at freescale.com
Tue Apr 14 02:25:18 PDT 2015


From: Chunrong Guo <B40290 at freescale.com>

   fix the following error:
   |make: *** No rule to make target `/poky/build/tmp/work-shared/p4080ds/kernel-source/.config

  (From OE-Core rev: 6a1ff0e7eacef595738f2fed086986fd622ec32a)

Signed-off-by: Chunrong Guo <B40290 at freescale.com>
---
 recipes-kernel/asf/asf_git.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/recipes-kernel/asf/asf_git.bb b/recipes-kernel/asf/asf_git.bb
index 8070f5a..b3379c1 100644
--- a/recipes-kernel/asf/asf_git.bb
+++ b/recipes-kernel/asf/asf_git.bb
@@ -6,16 +6,18 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287"
 SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;nobranch=1"
 SRCREV = "16eb472d6b2b34c8b605a86c469611bc8ddec1c9"
 
-
 inherit module qoriq_build_64bit_kernel
-
+do_configure[depends] += "virtual/kernel:do_shared_workdir"
 S = "${WORKDIR}/git/asfmodule"
 
 EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}"
 export KERNEL_PATH = "${STAGING_KERNEL_DIR}"
-
 INHIBIT_PACKAGE_STRIP = "1"
 
+do_configure_append (){
+    cp ${STAGING_KERNEL_BUILDDIR}/.config  ${STAGING_KERNEL_DIR}/
+}
+
 do_install(){
     install -d ${D}/${libexecdir} 
     install -d ${D}/lib/modules/${KERNEL_VERSION}/asf
@@ -26,4 +28,3 @@ do_install(){
 
 FILES_${PN} += "${libexecdir} /lib/modules/${KERNEL_VERSION}/asf"
 RDEPENDS_${PN} += "ipsec-tools"
-
-- 
1.9.2



More information about the meta-freescale mailing list