[OE-core] [PATCH 1/2] kernel.bbclass: Ensure compiler is available for do_populate_sysroot_setscene

Mike Crowe mac at mcrowe.com
Tue Nov 19 17:37:44 UTC 2013


kernelscripts_sstate_postinst uses the compiler (and therefore binutils) to
generate the kernel scripts so it must declare a dependency on them. The
ones in DEPENDS don't apply to do_populate_sysroot_setscene.

Signed-off-by: Mike Crowe <mac at mcrowe.com>
---
 meta/classes/kernel.bbclass |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 6959aa1..2fad6e0 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -312,6 +312,8 @@ kernelscripts_sstate_postinst () {
 	fi
 }
 
+do_populate_sysroot_setscene[depends] += "virtual/${TARGET_PREFIX}gcc:do_populate_sysroot virtual/${TARGET_PREFIX}binutils:do_populate_sysroot"
+
 python sysroot_stage_all () {
     oe.path.copyhardlinktree(d.expand("${D}${KERNEL_SRC_PATH}"), d.expand("${SYSROOT_DESTDIR}${KERNEL_SRC_PATH}"))
 }
-- 
1.7.10.4




More information about the Openembedded-core mailing list