All of lore.kernel.org
 help / color / mirror / Atom feed
From: <b40290@freescale.com>
To: <meta-freescale@yoctoproject.org>
Subject: [meta-fsl-ppc ][PATCH] asf: fix configure error
Date: Tue, 14 Apr 2015 17:25:18 +0800	[thread overview]
Message-ID: <1429003518-5476-1-git-send-email-b40290@freescale.com> (raw)

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



                 reply	other threads:[~2015-04-14  9:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1429003518-5476-1-git-send-email-b40290@freescale.com \
    --to=b40290@freescale.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.