summaryrefslogtreecommitdiff
path: root/components/vbus/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2015-06-25 17:17:16 +0800
committerBernard Xiong <[email protected]>2015-06-25 17:17:16 +0800
commite03fbd4815703ecd8e876d9362d27ebff1e183aa (patch)
treed4114f07e8fcae2756a68b6a62f7b43c3c5862ad /components/vbus/SConscript
parentd6cb1e3465e1736fd69a5ebb9c7b5eb7a33db8c6 (diff)
[VBUS] remove the vbus_local_conf.h analysis in the SConscript
Diffstat (limited to 'components/vbus/SConscript')
-rw-r--r--components/vbus/SConscript6
1 files changed, 0 insertions, 6 deletions
diff --git a/components/vbus/SConscript b/components/vbus/SConscript
index e9097d19ff..7a07ea9539 100644
--- a/components/vbus/SConscript
+++ b/components/vbus/SConscript
@@ -16,12 +16,6 @@ for c, f in [['RT_USING_VBUS_RFS', 'utilities/rfs.c'],
if GetDepend(c):
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')]
group = DefineGroup('VBus', src, depend = ['RT_USING_VBUS'], CPPPATH = CPPPATH)