1 2 3 4 5 6 7 8 9 10 11 12 13 14
# RT-Thread building script for component from building import * cwd = GetCurrentDir() src = [] CPPPATH = [cwd] if GetDepend('BSP_USING_HARDLOCK'): src += ['drv_hardlock.c'] group = DefineGroup('HARDLOCK', src, depend = [], CPPPATH = CPPPATH) Return('group')