summaryrefslogtreecommitdiffstats
path: root/meta/classes-global/staging.bbclass
diff options
context:
space:
mode:
authorAdrian Freihofer <adrian.freihofer@gmail.com>2023-09-10 17:52:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-09-12 12:44:47 +0100
commitb31f99a6cbd138049d2370fa367ff55e1ec4b31d (patch)
tree14a9785bbb788e5b32b597ce68c548fae550e2d9 /meta/classes-global/staging.bbclass
parent40fdebda20af3546186cc63e3c2c71dfd2ad6bc0 (diff)
downloadpoky-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.bbclass3
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