mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-23 17:03:11 +08:00
17 lines
284 B
Python
17 lines
284 B
Python
from building import *
|
|
import os
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd]
|
|
|
|
src = Split("""
|
|
""")
|
|
|
|
if GetDepend('SOC_XUANTIE'):
|
|
|
|
if GetDepend('BSP_USING_UART'):
|
|
src += ['drv_usart.c']
|
|
|
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
Return('group')
|