summaryrefslogtreecommitdiffstats
path: root/scripts/lib
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:46:00 +0000
commit53b8ae2679417f7022463872ff6d849cb302fce4 (patch)
tree1c38fcff6b9bc567a4173c63142a6dd7b6884c95 /scripts/lib
parent62e87836c419f8f3ff3af0b0e24d2c9cc96fd9e6 (diff)
downloadpoky-53b8ae2679417f7022463872ff6d849cb302fce4.tar.gz
devtool: deploy: provide max_process to strip_execs
Use oe.utils.get_bb_number_threads to get max_process (From OE-Core rev: f0056dca0a44c374f1f0c5fccbf66ae88e0b1850) 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/lib')
-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):
140 import math 140 import math
141 import oe.recipeutils 141 import oe.recipeutils
142 import oe.package 142 import oe.package
143 import oe.utils
143 144
144 check_workspace_recipe(workspace, args.recipename, checksrc=False) 145 check_workspace_recipe(workspace, args.recipename, checksrc=False)
145 146
@@ -174,7 +175,7 @@ def deploy(args, config, basepath, workspace):
174 exec_fakeroot(rd, "cp -af %s %s" % (os.path.join(srcdir, '.'), recipe_outdir), shell=True) 175 exec_fakeroot(rd, "cp -af %s %s" % (os.path.join(srcdir, '.'), recipe_outdir), shell=True)
175 os.environ['PATH'] = ':'.join([os.environ['PATH'], rd.getVar('PATH') or '']) 176 os.environ['PATH'] = ':'.join([os.environ['PATH'], rd.getVar('PATH') or ''])
176 oe.package.strip_execs(args.recipename, recipe_outdir, rd.getVar('STRIP'), rd.getVar('libdir'), 177 oe.package.strip_execs(args.recipename, recipe_outdir, rd.getVar('STRIP'), rd.getVar('libdir'),
177 rd.getVar('base_libdir'), rd) 178 rd.getVar('base_libdir'), oe.utils.get_bb_number_threads(rd), rd)
178 179
179 filelist = [] 180 filelist = []
180 inodes = set({}) 181 inodes = set({})