mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-02-05 23:32:04 +08:00
13 lines
321 B
Python
Executable File
13 lines
321 B
Python
Executable File
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = []
|
|
CPPPATH = [cwd + '/../include', cwd + '/../../../../components/drivers/hwspinlock']
|
|
|
|
if GetDepend(['RT_HWSPINLOCK_ROCKCHIP']):
|
|
src += ['hwspinlock-rockchip.c']
|
|
|
|
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|