All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] kernel.bbclass fix and cleanup
@ 2011-04-19 15:11 Darren Hart
  2011-04-19 15:11 ` [PATCH 2/2] kernel: Remove debug statements Darren Hart
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Darren Hart @ 2011-04-19 15:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: Darren Hart

From: Darren Hart <dvhart@linux.intel.com>

The following commit introduced a build bug and left some debug lying around.

commit 3b49416fc7a7ee9bfe722f2e6089aa18df41dc58
Author: Darren Hart <dvhart@linux.intel.com>
Date:   Tue Mar 8 17:09:10 2011 -0800
kernel/bbclass: rework kernel and module classes to allow for building
out-of-tree modules

The following 2 patches address that.

Thanks,
    Darren Hart <dvhart@linux.intel.com>
---


Darren Hart (2):
  kernel: Copy over bzImage to sysroots during install
  kernel: Remove debug statements

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

-- 
1.7.3.4




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

* [PATCH 1/2] kernel: Copy over bzImage to sysroots during install
  2011-04-19 15:11 [PATCH 0/2] kernel.bbclass fix and cleanup Darren Hart
  2011-04-19 15:11 ` [PATCH 2/2] kernel: Remove debug statements Darren Hart
@ 2011-04-19 15:11 ` Darren Hart
  2011-04-19 22:36 ` [PATCH 0/2] kernel.bbclass fix and cleanup Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Darren Hart @ 2011-04-19 15:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: Darren Hart

From: Darren Hart <dvhart@linux.intel.com>

Fixes [Yocto #987]

The following commit introduced a build failure:

Commit 3b49416fc7a7ee9bfe722f2e6089aa18df41dc58
Author: Darren Hart <dvhart@linux.intel.com>
Date:   Tue Mar 8 17:09:10 2011 -0800
kernel/bbclass: rework kernel and module classes to allow for building
out-of-tree modules

Resulting in:
| install: cannot stat
`/usr/local/test/intel-bsp/build/tmp/sysroots/n450/kernel/bzImage': No such
file or directory
| ERROR: Function 'build_boot_bin' failed (see
/usr/local/test/intel-bsp/build/tmp/work/core2-poky-linux/poky-image-minimal-live-1.0-r0/temp/log.do_bootimg.1106
for further information)

The bzImage file was not being copied to sysroot, correct that.

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/classes/kernel.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 3107790..c443285 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -136,6 +136,7 @@ kernel_do_install() {
 	if [ ! "${S}" == "${B}" ]; then
 		cp -fR ${S}/* $kerneldir
 	fi
+	install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}
 	echo "LINUX BUILD TREE COPIED TO SYSROOTS"
 	du -hs $kerneldir
 
-- 
1.7.3.4




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

* [PATCH 2/2] kernel: Remove debug statements
  2011-04-19 15:11 [PATCH 0/2] kernel.bbclass fix and cleanup Darren Hart
@ 2011-04-19 15:11 ` Darren Hart
  2011-04-19 15:11 ` [PATCH 1/2] kernel: Copy over bzImage to sysroots during install Darren Hart
  2011-04-19 22:36 ` [PATCH 0/2] kernel.bbclass fix and cleanup Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Darren Hart @ 2011-04-19 15:11 UTC (permalink / raw)
  To: openembedded-core; +Cc: Darren Hart

From: Darren Hart <dvhart@linux.intel.com>

A stray echo and du command from my development of the following patch remain in
kernel.bbclass. Remove them.

commit 3b49416fc7a7ee9bfe722f2e6089aa18df41dc58
Author: Darren Hart <dvhart@linux.intel.com>
Date:   Tue Mar 8 17:09:10 2011 -0800
kernel/bbclass: rework kernel and module classes to allow for building
out-of-tree modules

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
---
 meta/classes/kernel.bbclass |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index c443285..fd1c8e3 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -137,8 +137,6 @@ kernel_do_install() {
 		cp -fR ${S}/* $kerneldir
 	fi
 	install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE}
-	echo "LINUX BUILD TREE COPIED TO SYSROOTS"
-	du -hs $kerneldir
 
 	#
 	# Clean and remove files not needed for building modules.
-- 
1.7.3.4




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

* Re: [PATCH 0/2] kernel.bbclass fix and cleanup
  2011-04-19 15:11 [PATCH 0/2] kernel.bbclass fix and cleanup Darren Hart
  2011-04-19 15:11 ` [PATCH 2/2] kernel: Remove debug statements Darren Hart
  2011-04-19 15:11 ` [PATCH 1/2] kernel: Copy over bzImage to sysroots during install Darren Hart
@ 2011-04-19 22:36 ` Richard Purdie
  2 siblings, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2011-04-19 22:36 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer; +Cc: Darren Hart

On Tue, 2011-04-19 at 08:11 -0700, Darren Hart wrote:
> From: Darren Hart <dvhart@linux.intel.com>
> 
> The following commit introduced a build bug and left some debug lying around.
> 
> commit 3b49416fc7a7ee9bfe722f2e6089aa18df41dc58
> Author: Darren Hart <dvhart@linux.intel.com>
> Date:   Tue Mar 8 17:09:10 2011 -0800
> kernel/bbclass: rework kernel and module classes to allow for building
> out-of-tree modules
> 
> The following 2 patches address that.
> 
> Thanks,
>     Darren Hart <dvhart@linux.intel.com>
> ---
> 
> 
> Darren Hart (2):
>   kernel: Copy over bzImage to sysroots during install
>   kernel: Remove debug statements

Merged to master, thanks.

Richard




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

end of thread, other threads:[~2011-04-19 22:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-19 15:11 [PATCH 0/2] kernel.bbclass fix and cleanup Darren Hart
2011-04-19 15:11 ` [PATCH 2/2] kernel: Remove debug statements Darren Hart
2011-04-19 15:11 ` [PATCH 1/2] kernel: Copy over bzImage to sysroots during install Darren Hart
2011-04-19 22:36 ` [PATCH 0/2] kernel.bbclass fix and cleanup Richard Purdie

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.