Improve the scons dist functionality
ToolsCI / Tools (push) Waiting to run
RT-Thread BSP Static Build Check / 🔍 Summary of Git Diff Changes (push) Waiting to run
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (push) Blocked by required conditions
RT-Thread BSP Static Build Check / collect-artifacts (push) Blocked by required conditions
pkgs_test / change (push) Waiting to run

This commit is contained in:
rcitach
2026-05-13 10:36:15 +08:00
committed by Rbb666
parent 9a973f4db0
commit 89f6931c9a
+1 -2
View File
@@ -11,7 +11,7 @@ def dist_do_building(BSP_ROOT, dist_dir):
from mkdist import bsp_copy_files
import rtconfig
print("=> copy stm32 bsp library")
print("=> copy novosns bsp library")
library_dir = os.path.join(dist_dir, 'libraries')
library_path = os.path.join(os.path.dirname(BSP_ROOT), 'libraries')
if rtconfig.BSP_LIBRARY_TYPE is not None:
@@ -20,4 +20,3 @@ def dist_do_building(BSP_ROOT, dist_dir):
print("=> copy bsp drivers")
bsp_copy_files(os.path.join(library_path, 'HAL_Drivers'), os.path.join(library_dir, 'HAL_Drivers'))
shutil.copyfile(os.path.join(library_path, 'Kconfig'), os.path.join(library_dir, 'Kconfig'))