diff options
Diffstat (limited to 'scripts/lib/devtool')
-rw-r--r-- | scripts/lib/devtool/deploy.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/lib/devtool/deploy.py b/scripts/lib/devtool/deploy.py index 7c571746c8..9cc492788b 100644 --- a/scripts/lib/devtool/deploy.py +++ b/scripts/lib/devtool/deploy.py | |||
@@ -178,13 +178,13 @@ def deploy(args, config, basepath, workspace): | |||
178 | if args.strip and not args.dry_run: | 178 | if args.strip and not args.dry_run: |
179 | # Fakeroot copy to new destination | 179 | # Fakeroot copy to new destination |
180 | srcdir = recipe_outdir | 180 | srcdir = recipe_outdir |
181 | recipe_outdir = os.path.join(rd.getVar('WORKDIR', True), 'deploy-target-stripped') | 181 | recipe_outdir = os.path.join(rd.getVar('WORKDIR'), 'deploy-target-stripped') |
182 | if os.path.isdir(recipe_outdir): | 182 | if os.path.isdir(recipe_outdir): |
183 | bb.utils.remove(recipe_outdir, True) | 183 | bb.utils.remove(recipe_outdir, True) |
184 | exec_fakeroot(rd, "cp -af %s %s" % (os.path.join(srcdir, '.'), recipe_outdir), shell=True) | 184 | exec_fakeroot(rd, "cp -af %s %s" % (os.path.join(srcdir, '.'), recipe_outdir), shell=True) |
185 | os.environ['PATH'] = ':'.join([os.environ['PATH'], rd.getVar('PATH', True) or '']) | 185 | os.environ['PATH'] = ':'.join([os.environ['PATH'], rd.getVar('PATH') or '']) |
186 | oe.package.strip_execs(args.recipename, recipe_outdir, rd.getVar('STRIP', True), rd.getVar('libdir', True), | 186 | oe.package.strip_execs(args.recipename, recipe_outdir, rd.getVar('STRIP'), rd.getVar('libdir'), |
187 | rd.getVar('base_libdir', True)) | 187 | rd.getVar('base_libdir')) |
188 | 188 | ||
189 | filelist = [] | 189 | filelist = [] |
190 | ftotalsize = 0 | 190 | ftotalsize = 0 |