FlexibleButton/SConscript
MurphyZhao 0e2eb6abd5 [fix] fix grammar bug, and fix tencent evb mx+ key mismatch problem
[update] change dirs and add examples directory

Signed-off-by: MurphyZhao <d2014zjt@163.com>
2020-02-15 09:05:26 +08:00

21 lines
347 B
Python

from building import *
import rtconfig
cwd = GetCurrentDir()
src = []
src += Split('''
flexible_button.c
''')
if GetDepend(['PKG_USING_FLEXIBLE_BUTTON_DEMO']):
src += Glob("examples/demo_rtt_iotboard.c")
CPPPATH = [cwd]
group = DefineGroup('flex_button', src, depend = ['PKG_USING_FLEXIBLE_BUTTON'], CPPPATH = CPPPATH)
Return('group')