summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorClay Chang <clayc@hpe.com>2023-12-20 15:31:33 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-12-23 08:43:38 +0000
commitf0056dca0a44c374f1f0c5fccbf66ae88e0b1850 (patch)
treef0b983101b1fa48855196714ed5bf4d1e8607bc9 /scripts
parent06a2f55337d36c2fb18cd360fa70908542114d44 (diff)
downloadopenembedded-core-f0056dca0a44c374f1f0c5fccbf66ae88e0b1850.tar.gz
devtool: deploy: provide max_process to strip_execs
Use oe.utils.get_bb_number_threads to get max_process Signed-off-by: Clay Chang <clayc@hpe.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/lib/devtool/deploy.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py
index e14a587417..eadf6e1521 100644
--- a/scripts/lib/devtool/deploy.py
+++ b/scripts/lib/devtool/deploy.py
@@ -140,6 +140,7 @@ def deploy(args, config, basepath, workspace):
import math
import oe.recipeutils
import oe.package
+ import oe.utils
check_workspace_recipe(workspace, args.recipename, checksrc=False)
@@ -174,7 +175,7 @@ def deploy(args, config, basepath, workspace):
exec_fakeroot(rd, "cp -af %s %s" % (os.path.join(srcdir, '.'), recipe_outdir), shell=True)
os.environ['PATH'] = ':'.join([os.environ['PATH'], rd.getVar('PATH') or ''])
oe.package.strip_execs(args.recipename, recipe_outdir, rd.getVar('STRIP'), rd.getVar('libdir'),
- rd.getVar('base_libdir'), rd)
+ rd.getVar('base_libdir'), oe.utils.get_bb_number_threads(rd), rd)
filelist = []
inodes = set({})