diff options
author | Darren Hart <dvhart@linux.intel.com> | 2011-04-19 08:11:36 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-04-19 18:05:53 +0100 |
commit | ae440cd1b8e088ee197bbfa283ac257a3860ebcd (patch) | |
tree | c9989066db0572b2c296429083ada58113b6e965 /meta/classes | |
parent | 903806a0bf1f24397716b9bc62b3f228515e4ada (diff) | |
download | poky-ae440cd1b8e088ee197bbfa283ac257a3860ebcd.tar.gz |
kernel: Copy over bzImage to sysroots during install
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.
(From OE-Core rev: 65cb39826370d3e35229bcc5fe0c8da8b2ab409b)
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Tom Zanussi <tom.zanussi@intel.com>
Cc: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | 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 31077906c9..c443285ae2 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -136,6 +136,7 @@ kernel_do_install() { | |||
136 | if [ ! "${S}" == "${B}" ]; then | 136 | if [ ! "${S}" == "${B}" ]; then |
137 | cp -fR ${S}/* $kerneldir | 137 | cp -fR ${S}/* $kerneldir |
138 | fi | 138 | fi |
139 | install -m 0644 ${KERNEL_OUTPUT} $kerneldir/${KERNEL_IMAGETYPE} | ||
139 | echo "LINUX BUILD TREE COPIED TO SYSROOTS" | 140 | echo "LINUX BUILD TREE COPIED TO SYSROOTS" |
140 | du -hs $kerneldir | 141 | du -hs $kerneldir |
141 | 142 | ||