]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: move bundle_initramfs after kernel_link_vmlinux
authorMing Liu <ming.liu@windriver.com>
Wed, 13 Nov 2013 05:40:59 +0000 (13:40 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 12 Dec 2013 16:53:10 +0000 (16:53 +0000)
${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.

(From OE-Core master rev: 3baa63b4d588c3262254528b406ede265dd117bf)

Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/classes/kernel.bbclass

index 1374e68d1aa1515b03382d6d0fcf2de05a67c084..61a6d102d7a8d658a29fa4c5a372174690cf90e9 100644 (file)
@@ -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