diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-21 11:36:28 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-11-21 13:11:03 +0000 |
commit | 3acd0bf832066b82a28556a8c6e37513eb54969e (patch) | |
tree | bf60f2a96dcd773ec41f4fb40b323e928ff62bf8 | |
parent | 2713f71a2611c13e801c7077e2803096ee23237d (diff) | |
download | poky-3acd0bf832066b82a28556a8c6e37513eb54969e.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.
(From OE-Core rev: e8648a022c93175d84baf3852d4d364b19d8d795)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/cross.bbclass | 5 |
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}" | |||
92 | export NM = "${BUILD_NM}" | 92 | export NM = "${BUILD_NM}" |
93 | 93 | ||
94 | inherit nopackages | 94 | inherit nopackages |
95 | |||
96 | python do_addto_recipe_sysroot () { | ||
97 | bb.build.exec_func("extend_recipe_sysroot", d) | ||
98 | } | ||
99 | addtask addto_recipe_sysroot after do_populate_sysroot | ||