4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 17:29:23 +08:00
2015-01-19 06:18:16 +00:00

15 lines
269 B
Python

from building import *
cwd = GetCurrentDir()
src = []
CPPPATH = [cwd + '/../include']
group = []
if GetDepend(['RT_USING_PIN']):
src = src + ['pin.c']
if len(src):
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
Return('group')