Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Eric Benard <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH] kernel.bbclass : fix install for x86
Date: Mon, 19 Apr 2010 21:34:38 +0200	[thread overview]
Message-ID: <1271705678-11080-1-git-send-email-eric@eukrea.com> (raw)

bitbake linux for a x86 machine fails with the following message :
cp: target `.../image/kernel//include/asm-x86/' is not a directory

so create $kerneldir/include/asm-x86 before trying to copy something in
this directory.

Signed-off-by: Eric Benard <eric@eukrea.com>
---
 classes/kernel.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 7504c11..498f4bf 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -142,6 +142,7 @@ kernel_do_install() {
 
 	# Check for arch/x86 on i386
 	elif [ -d arch/x86/include/asm/ ]; then
+	        mkdir -p $kerneldir/include/asm-x86
 		cp -fR arch/x86/include/asm/* $kerneldir/include/asm-x86/
 		install -d $kerneldir/arch/x86/include
 		cp -fR arch/x86/* $kerneldir/arch/x86/
-- 
1.6.3.3




             reply	other threads:[~2010-04-19 19:44 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-19 19:34 Eric Benard [this message]
2010-04-19 19:43 ` [PATCH] kernel.bbclass : fix install for x86 Eric Bénard

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=1271705678-11080-1-git-send-email-eric@eukrea.com \
    --to=eric@eukrea.com \
    --cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox