From: Richard Purdie Date: Tue, 21 Nov 2017 11:36:28 +0000 (+0000) Subject: classes/cross: Add addto_recipe_sysroot task to cross recipes X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~19509 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8648a022c93175d84baf3852d4d364b19d8d795;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git classes/cross: Add addto_recipe_sysroot task to cross recipes 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 --- diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass index d217717e696..e9fafed7835 100644 --- a/meta/classes/cross.bbclass +++ b/meta/classes/cross.bbclass @@ -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