summaryrefslogtreecommitdiff
path: root/meta/classes/kernel.bbclass
diff options
context:
space:
mode:
authorMing Liu <peter.x.liu@external.atlascopco.com>2017-03-30 15:20:13 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-05 09:42:09 +0100
commit3211d43d80f69d9c200a0e4f90fd37736046aafe (patch)
tree5be875a5dcb022885ab907cc9966e0274c777c1d /meta/classes/kernel.bbclass
parent1910f9e9336bfedc8278a3bc02e7e7f934a4fc86 (diff)
downloadopenembedded-core-3211d43d80f69d9c200a0e4f90fd37736046aafe.tar.gz
openembedded-core-3211d43d80f69d9c200a0e4f90fd37736046aafe.tar.bz2
openembedded-core-3211d43d80f69d9c200a0e4f90fd37736046aafe.zip
kernel.bbclass: move in addtask kernel_link_images statement from linux-yocto.inc
Add kernel_link_images task in kernel.bbclass instead of adding it in linux-yocto.inc, or else the recipes inheriting kernel.bbclass might run into implicit dependency issues. Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r--meta/classes/kernel.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index b7f5fce360..8954b28b2c 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -539,6 +539,7 @@ do_kernel_link_images() {
ln -sf ../../../vmlinuz.bin
fi
}
+addtask kernel_link_images after do_compile before do_strip
do_strip() {
if [ -n "${KERNEL_IMAGE_STRIP_EXTRA_SECTIONS}" ]; then