All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-fsl-ppc ][PATCH] asf: fix configure error
@ 2015-04-14  9:25 b40290
  0 siblings, 0 replies; only message in thread
From: b40290 @ 2015-04-14  9:25 UTC (permalink / raw)
  To: meta-freescale

From: Chunrong Guo <B40290@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@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



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-14  9:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-14  9:25 [meta-fsl-ppc ][PATCH] asf: fix configure error b40290

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.