4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-17 03:54:09 +08:00
2020-11-20 13:38:11 +08:00

17 lines
300 B
Python

from building import *
src = []
cwd = []
CPPDEFINES = []
cwd = GetCurrentDir()
if GetDepend('BSP_USING_PHY') and GetDepend('PHY_USING_KSZ8081'):
src += ['phyksz8081.c']
path = [cwd]
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path, CPPDEFINES=CPPDEFINES)
Return('group')