Patchwork [V3,1/2] kernel.bbclass: move bundle_initramfs after kernel_link_vmlinux

login
register
mail settings
Submitter Ming Liu
Date Nov. 13, 2013, 5:40 a.m.
Message ID <1384321260-30303-1-git-send-email-ming.liu@windriver.com>
Download mbox | patch
Permalink /patch/61573/
State New
Headers show

Comments

Ming Liu - Nov. 13, 2013, 5:40 a.m.
${KERNEL_OUTPUT} is being renamed/restored in bundle_initramfs task, so we
must ensure bundle_initramfs run after kernel_link_vmlinux where the link
of vmlinux is created as the bootable image.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
---
 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index a4db9f5..966066f 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -152,7 +152,7 @@  python do_devshell_prepend () {
     os.environ["LDFLAGS"] = ''
 }
 
-addtask bundle_initramfs after do_compile before do_build
+addtask bundle_initramfs after do_kernel_link_vmlinux before do_build
 
 kernel_do_compile() {
 	unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE