diff options
| author | BruceOu <[email protected]> | 2022-01-09 10:06:01 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-09 10:06:01 +0800 |
| commit | 6278523af7be1d89603fb7eb834397c52aa2c6d7 (patch) | |
| tree | 5858f02fceeb71da3d7d3065a577673e51dad635 /bsp/simulator/drivers/SConscript | |
| parent | 77ccb89590e7f5f97fdc2f9ed2671849fbafd510 (diff) | |
| parent | f21af8362b22b1f19fcf7b519192f5c71b4fa8d9 (diff) | |
Merge branch 'master' into master
Diffstat (limited to 'bsp/simulator/drivers/SConscript')
| -rw-r--r-- | bsp/simulator/drivers/SConscript | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/bsp/simulator/drivers/SConscript b/bsp/simulator/drivers/SConscript index d5a82f93b7..8f0c9275ff 100644 --- a/bsp/simulator/drivers/SConscript +++ b/bsp/simulator/drivers/SConscript @@ -8,8 +8,6 @@ LIBS = [] LIBPATH = [] CPPPATH = [cwd] -CPPDEFINES = ['_CRT_DECLARE_NONSTDC_NAMES=0'] # avoid to conflict with the inherent STDC in VS - # remove no need file. if GetDepend('PKG_USING_GUIENGINE') == False: SrcRemove(src, 'sdl_fb.c') @@ -32,8 +30,7 @@ if GetDepend('RT_USING_DFS') == False or GetDepend('RT_USING_MODULE') == False: if sys.platform[0:5]=="linux": #check whether under linux SrcRemove(src, ['module_win32.c', 'dfs_win32.c']) -group = DefineGroup('Drivers', src, depend = [''], - CPPPATH = CPPPATH, LIBS=LIBS, LIBPATH=LIBPATH, CPPDEFINES = CPPDEFINES) +group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH, LIBS=LIBS, LIBPATH=LIBPATH) list = os.listdir(cwd) for item in list: |
