* [PATCH] kernel.bbclass : fix install for x86
@ 2010-04-19 19:34 Eric Benard
2010-04-19 19:43 ` Eric Bénard
0 siblings, 1 reply; 2+ messages in thread
From: Eric Benard @ 2010-04-19 19:34 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kernel.bbclass : fix install for x86
2010-04-19 19:34 [PATCH] kernel.bbclass : fix install for x86 Eric Benard
@ 2010-04-19 19:43 ` Eric Bénard
0 siblings, 0 replies; 2+ messages in thread
From: Eric Bénard @ 2010-04-19 19:43 UTC (permalink / raw)
To: openembedded-devel
Le 19/04/2010 21:34, Eric Benard a écrit :
> 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.
>
forget it, this is not the right fix.
Eric
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-04-19 19:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-19 19:34 [PATCH] kernel.bbclass : fix install for x86 Eric Benard
2010-04-19 19:43 ` Eric Bénard
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.