summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authornull <[email protected]>2021-01-18 18:54:00 +0800
committerGitHub <[email protected]>2021-01-18 18:54:00 +0800
commit13927be259c9bf42a6a36407212003d6caf02246 (patch)
tree9cc0e0eee6d86812e51fe1d177ef9d4ae599b97d /tools
parent0fb6a8222333b786ed68163270e1810fb48301d9 (diff)
[fix] miss arguments when invoke dist_handle
Use this command: `scons --dist-strip` to detach project. but it aborted with error: "TypeError: dist_handle() takes exactly 2 arguments (1 given):"
Diffstat (limited to 'tools')
-rw-r--r--tools/mkdist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mkdist.py b/tools/mkdist.py
index a1dafd25cb..7765873baa 100644
--- a/tools/mkdist.py
+++ b/tools/mkdist.py
@@ -218,7 +218,7 @@ def MkDist_Strip(program, BSP_ROOT, RTT_ROOT, Env):
if 'dist_handle' in Env:
print("=> start dist handle")
dist_handle = Env['dist_handle']
- dist_handle(BSP_ROOT)
+ dist_handle(BSP_ROOT, dist_dir)
# get all source files from program
for item in program: