SConscript 321 B

123456789101112
  1. from building import *
  2. cwd = GetCurrentDir()
  3. src = []
  4. CPPPATH = [cwd + '/../include', cwd + '/../../../../components/drivers/hwspinlock']
  5. if GetDepend(['RT_HWSPINLOCK_ROCKCHIP']):
  6. src += ['hwspinlock-rockchip.c']
  7. group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)
  8. Return('group')