mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-21 10:34:19 +08:00
[build] remove hard coded path issue in SConscript
This commit is contained in:
Vendored
+2
-3
@@ -1,12 +1,11 @@
|
||||
Import('RTT_ROOT')
|
||||
Import('rtconfig')
|
||||
from building import *
|
||||
|
||||
cwd = GetCurrentDir()
|
||||
src = Split('''
|
||||
minilzo.c
|
||||
lzo.c
|
||||
''')
|
||||
CPPPATH = [RTT_ROOT + '/components/external/lzo']
|
||||
CPPPATH = [cwd]
|
||||
|
||||
group = DefineGroup('lzo', src, depend = ['RT_USING_LZO'], CPPPATH = CPPPATH)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user