[VBUS] remove the vbus_local_conf.h analysis in the SConscript

This commit is contained in:
Bernard Xiong 2015-06-25 17:17:16 +08:00
parent d6cb1e3465
commit e03fbd4815
1 changed files with 0 additions and 6 deletions

View File

@ -16,12 +16,6 @@ for c, f in [['RT_USING_VBUS_RFS', 'utilities/rfs.c'],
if GetDepend(c): if GetDepend(c):
src += Glob(f) src += Glob(f)
with open(os.path.join(Dir('#').get_abspath(), 'vbus_local_conf.h'), 'r') as f:
cpp = SCons.cpp.PreProcessor()
cpp.process_contents(f.read())
if 'RT_VBUS_USING_TESTS' in cpp.cpp_namespace:
src += Glob('tests/*.c')
CPPPATH = [cwd, os.path.join(cwd, 'share_hdr')] CPPPATH = [cwd, os.path.join(cwd, 'share_hdr')]
group = DefineGroup('VBus', src, depend = ['RT_USING_VBUS'], CPPPATH = CPPPATH) group = DefineGroup('VBus', src, depend = ['RT_USING_VBUS'], CPPPATH = CPPPATH)