SConscript 274 B

123456789101112
  1. from building import *
  2. cwd = GetCurrentDir()
  3. src = ['ap3216c.c']
  4. path = [cwd]
  5. if GetDepend('PKG_AP3216C_USING_SENSOR_V2'):
  6. src += ['sensor_lsc_ap3216c.c']
  7. group = DefineGroup('ap3216c', src, depend = ['PKG_USING_AP3216C'], CPPPATH = path)
  8. Return('group')