19 lines
324 B
Python
Executable File
19 lines
324 B
Python
Executable File
from building import *
|
|
|
|
group = []
|
|
|
|
if not GetDepend(['RT_USING_MBOX']):
|
|
Return('group')
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd + '/../include']
|
|
|
|
src = ['mailbox.c']
|
|
|
|
if GetDepend(['RT_MBOX_PIC']):
|
|
src += ['mailbox-pic.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|