mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
40fdebda20
commit
b31f99a6cb
@@ -92,7 +92,8 @@ python sysroot_strip () {
|
||||
qa_already_stripped = 'already-stripped' in (d.getVar('INSANE_SKIP:' + pn) or "").split()
|
||||
strip_cmd = d.getVar("STRIP")
|
||||
|
||||
oe.package.strip_execs(pn, dstdir, strip_cmd, libdir, base_libdir, d,
|
||||
max_process = oe.utils.get_bb_number_threads(d)
|
||||
oe.package.strip_execs(pn, dstdir, strip_cmd, libdir, base_libdir, max_process,
|
||||
qa_already_stripped=qa_already_stripped)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user