]> code.ossystems Code Review - openembedded-core.git/commitdiff
classes/cross: Add addto_recipe_sysroot task to cross recipes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Nov 2017 11:36:28 +0000 (11:36 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Nov 2017 13:10:12 +0000 (13:10 +0000)
This is particularly useful if you want to use gdb-cross as there
is no other good way to access it now with RSS.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/cross.bbclass

index d217717e69629a5c0e3578e012fd69658f376e8e..e9fafed78354d2d7dbe6d880cd36f525b8361599 100644 (file)
@@ -92,3 +92,8 @@ export STRIP = "${BUILD_STRIP}"
 export NM = "${BUILD_NM}"
 
 inherit nopackages
+
+python do_addto_recipe_sysroot () {
+    bb.build.exec_func("extend_recipe_sysroot", d)
+}
+addtask addto_recipe_sysroot after do_populate_sysroot