Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Eric Benard <eric@eukrea.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 4/4] kernel.class : fix for recent kernel on x86
Date: Sat, 24 Apr 2010 15:14:48 +0200	[thread overview]
Message-ID: <1272114888-16964-4-git-send-email-eric@eukrea.com> (raw)
In-Reply-To: <1272114888-16964-3-git-send-email-eric@eukrea.com>

- 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.

- make headers_install fails because of missing directories in include
(tested with linux 2.6.32 and 2.6.33 on x86)

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

diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 7504c11..4fc7e6d 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/
@@ -155,7 +156,7 @@ kernel_do_install() {
 	mkdir -p $kerneldir/include/asm-generic
 	cp -fR include/asm-generic/* $kerneldir/include/asm-generic/
 
-	for entry in drivers/crypto drivers/media include/generated include/linux include/net include/pcmcia include/media include/acpi include/sound include/video include/scsi include/trace; do
+	for entry in drivers/crypto drivers/media include/generated include/linux include/net include/pcmcia include/media include/acpi include/sound include/video include/scsi include/trace include/mtd include/rdma include/drm include/xen; do
 		if [ -d $entry ]; then
 			mkdir -p $kerneldir/$entry
 			cp -fR $entry/* $kerneldir/$entry/
-- 
1.6.3.3




  reply	other threads:[~2010-04-24 13:17 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-24 13:14 [PATCH 1/4] klibc: add 1.5.17 Eric Benard
2010-04-24 13:14 ` [PATCH 2/4] v86d : add 0.1.9 Eric Benard
2010-04-24 13:14   ` [PATCH 3/4] mplayer_svn : fix compilation problem Eric Benard
2010-04-24 13:14     ` Eric Benard [this message]
2010-04-25 19:20       ` [PATCH v2] kernel.class : fix for recent kernel on x86 Eric Benard
2010-04-26 10:40         ` Roman I Khimov
2010-05-02 19:34           ` Roman I Khimov
2010-04-25 13:13     ` [PATCH 3/4] mplayer_svn : fix compilation problem GNUtoo
2010-04-25 13:39     ` GNUtoo
2010-04-25 14:24       ` GNUtoo
2010-04-25 14:41         ` GNUtoo
2010-04-29 13:36           ` gnutoo
2010-04-29 13:40             ` Eric Bénard
2010-04-29 15:05               ` GNUtoo
2010-04-29 15:08                 ` Eric Bénard
2010-04-29 16:17                   ` GNUtoo
2010-04-29 19:26                     ` Eric Bénard
2010-04-29 19:55                     ` Eric Bénard
2010-04-30  7:33             ` [PATCH] " Eric Benard
2010-04-30 19:32               ` GNUtoo
2010-05-04  9:50                 ` GNUtoo
2010-04-25 19:14         ` [PATCH 3/4] " 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=1272114888-16964-4-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