We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 094d0b4 commit 6da9c93Copy full SHA for 6da9c93
bsp/imxrt/tools/sdk_dist.py
@@ -5,10 +5,13 @@
5
sys.path.append(os.path.join(os.path.dirname(cwd_path), 'rt-thread', 'tools'))
6
7
# BSP dist function
8
-def dist_do_building(BSP_ROOT, dist_dir):
+def dist_do_building(BSP_ROOT, dist_dir=None):
9
from mkdist import bsp_copy_files
10
import rtconfig
11
12
+ if dist_dir is None:
13
+ dist_dir = os.path.join(BSP_ROOT, 'dist', os.path.basename(BSP_ROOT))
14
+
15
print("=> copy imxrt bsp library")
16
library_path = os.path.join(os.path.dirname(BSP_ROOT), 'libraries')
17
library_dir = os.path.join(dist_dir, 'libraries')
0 commit comments