All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix kernel build, version >= 2.6.33-rc1, arch x86
@ 2010-01-18 21:06 Aleksey Makarov
  2010-01-21 19:24 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: Aleksey Makarov @ 2010-01-18 21:06 UTC (permalink / raw)
  To: openembedded-devel

A check was missed in the x86 path of the stage method.  Compare it to the common path.

---
 classes/kernel.bbclass |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 83530b5..53ea252 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -112,7 +112,9 @@ kernel_do_stage() {
 
 	# Check for arch/x86 on i386
 	elif [ -d arch/x86/include/asm/ ]; then
-		cp -fR arch/x86/include/asm/* ${STAGING_KERNEL_DIR}/include/asm-x86/
+		if [ -e include/asm ] ; then
+			cp -fR arch/x86/include/asm/* ${STAGING_KERNEL_DIR}/include/asm-x86/
+		fi
 		install -d ${STAGING_KERNEL_DIR}/arch/x86/include
 		cp -fR arch/x86/* ${STAGING_KERNEL_DIR}/arch/x86/
 	fi
-- 
1.6.4.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix kernel build, version >= 2.6.33-rc1, arch x86
  2010-01-18 21:06 [PATCH] Fix kernel build, version >= 2.6.33-rc1, arch x86 Aleksey Makarov
@ 2010-01-21 19:24 ` Martin Jansa
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2010-01-21 19:24 UTC (permalink / raw)
  To: openembedded-devel

On Tue, Jan 19, 2010 at 03:06:23AM +0600, Aleksey Makarov wrote:
> A check was missed in the x86 path of the stage method.  Compare it to the common path.

Pushed thanks!

> ---
>  classes/kernel.bbclass |    4 +++-
>  1 files changed, 3 insertions(+), 1 deletions(-)
> 
> diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
> index 83530b5..53ea252 100644
> --- a/classes/kernel.bbclass
> +++ b/classes/kernel.bbclass
> @@ -112,7 +112,9 @@ kernel_do_stage() {
>  
>  	# Check for arch/x86 on i386
>  	elif [ -d arch/x86/include/asm/ ]; then
> -		cp -fR arch/x86/include/asm/* ${STAGING_KERNEL_DIR}/include/asm-x86/
> +		if [ -e include/asm ] ; then
> +			cp -fR arch/x86/include/asm/* ${STAGING_KERNEL_DIR}/include/asm-x86/
> +		fi
>  		install -d ${STAGING_KERNEL_DIR}/arch/x86/include
>  		cp -fR arch/x86/* ${STAGING_KERNEL_DIR}/arch/x86/
>  	fi
> -- 
> 1.6.4.4
> 
> 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
uin:136542059                jid:Martin.Jansa@gmail.com
Jansa Martin                 sip:jamasip@voip.wengo.fr 
JaMa                         



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-01-21 19:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-18 21:06 [PATCH] Fix kernel build, version >= 2.6.33-rc1, arch x86 Aleksey Makarov
2010-01-21 19:24 ` Martin Jansa

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.