diff options
author | Adrian Freihofer <adrian.freihofer@gmail.com> | 2023-09-10 17:52:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-09-12 12:44:47 +0100 |
commit | b31f99a6cbd138049d2370fa367ff55e1ec4b31d (patch) | |
tree | 14a9785bbb788e5b32b597ce68c548fae550e2d9 /meta/classes-global/staging.bbclass | |
parent | 40fdebda20af3546186cc63e3c2c71dfd2ad6bc0 (diff) | |
download | poky-b31f99a6cbd138049d2370fa367ff55e1ec4b31d.tar.gz |
lib/oe/package: Refactor to make strip_execs callable without d
This allows to call strip_execs function from devtool without going
via tinfoil and a bitbake server process.
(From OE-Core rev: 3bde26d64a0c8c3ef8ffbcb398f2a268759321af)
Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-global/staging.bbclass')
-rw-r--r-- | meta/classes-global/staging.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes-global/staging.bbclass b/meta/classes-global/staging.bbclass index 3a300c32e7..d229f40107 100644 --- a/meta/classes-global/staging.bbclass +++ b/meta/classes-global/staging.bbclass | |||
@@ -92,7 +92,8 @@ python sysroot_strip () { | |||
92 | qa_already_stripped = 'already-stripped' in (d.getVar('INSANE_SKIP:' + pn) or "").split() | 92 | qa_already_stripped = 'already-stripped' in (d.getVar('INSANE_SKIP:' + pn) or "").split() |
93 | strip_cmd = d.getVar("STRIP") | 93 | strip_cmd = d.getVar("STRIP") |
94 | 94 | ||
95 | oe.package.strip_execs(pn, dstdir, strip_cmd, libdir, base_libdir, d, | 95 | max_process = oe.utils.get_bb_number_threads(d) |
96 | oe.package.strip_execs(pn, dstdir, strip_cmd, libdir, base_libdir, max_process, | ||
96 | qa_already_stripped=qa_already_stripped) | 97 | qa_already_stripped=qa_already_stripped) |
97 | } | 98 | } |
98 | 99 | ||