aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-21 11:36:28 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-11-21 13:10:12 +0000
commite8648a022c93175d84baf3852d4d364b19d8d795 (patch)
treee03690267b8e7dce173a83212806eaa3cde0e7bb
parent87719e35db08b21cd43ab3ebd72f4567ca0fdc65 (diff)
downloadopenembedded-core-contrib-e8648a022c93175d84baf3852d4d364b19d8d795.tar.gz
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 <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/cross.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index d217717e69..e9fafed783 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