rt-thread-official/bsp/fm3/mb9bf506r/SConscript

17 lines
419 B
Python

import rtconfig
Import('RTT_ROOT')
from building import *
src_bsp = ['application.c', 'startup.c', 'board.c', 'led.c', 'console.c']
src_drv = ['serial.c', 'nand.c']
if GetDepend('RT_USING_RTGUI'):
src_drv += ['info.c']
src = src_bsp + src_drv
CPPPATH = [GetCurrentDir()]
CPPDEFINES = []
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group')