Skip to content

Commit 3e9caca

Browse files
rcitachRbb666
authored andcommitted
减少绝对路径依赖,避免中间产物残留
1 parent 659023b commit 3e9caca

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bsp/novosns/ns800/libraries/HAL_Drivers/SConscript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ from building import *
44
import os
55

66
cwd = GetCurrentDir()
7+
group = []
78
src = ['drv_common.c']
89
path = [cwd]
910

10-
group = SConscript(os.path.join(cwd, 'drivers', 'SConscript'))
11+
group = SConscript(os.path.join('drivers', 'SConscript'))
1112
group = group + DefineGroup('HAL_Drivers', src, depend = [''], CPPPATH = path)
1213

1314
Return('group')

0 commit comments

Comments
 (0)