rt-thread-official/bsp/frdm-k64f/board/SConscript

24 lines
398 B
Python
Raw Permalink Normal View History

2014-06-29 00:34:20 +08:00
Import('RTT_ROOT')
Import('rtconfig')
from building import *
cwd = os.path.join(str(Dir('#')), 'board')
2017-07-01 13:42:28 +08:00
# add the general drivers.
src = Split("""
board.c
clock_config.c
drv_uart.c
led.c
""")
# add Ethernet drivers.
if GetDepend('RT_USING_LWIP'):
src += ['drv_emac.c', 'fsl_phy.c']
2014-06-29 00:34:20 +08:00
CPPPATH = [cwd]
2020-12-19 16:49:11 +08:00
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
2014-06-29 00:34:20 +08:00
Return('group')