mirror of
https://github.com/murphyzhao/FlexibleButton.git
synced 2023-11-24 09:39:02 +08:00
0e2eb6abd5
[update] change dirs and add examples directory Signed-off-by: MurphyZhao <d2014zjt@163.com>
21 lines
347 B
Python
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')
|