19 lines
257 B
Python
19 lines
257 B
Python
|
import os
|
||
|
import rtconfig
|
||
|
from building import *
|
||
|
|
||
|
Import('SDK_LIB')
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
|
||
|
# add general drivers
|
||
|
src = Split('''
|
||
|
board.c
|
||
|
software_irq.c
|
||
|
''')
|
||
|
|
||
|
path = [cwd]
|
||
|
|
||
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||
|
Return('group')
|