SConscript 605 B

1234567891011121314151617181920
  1. from building import *
  2. import rtconfig
  3. # get current directory
  4. cwd = GetCurrentDir()
  5. # The set of source files associated with this SConscript file.
  6. src = []
  7. src += Glob(cwd+"/common/src/*.c")
  8. if GetDepend(['PKG_USING_FILEX_DEMO_MEM']):
  9. src += Glob(cwd+"/common/src/fx_ram_driver.c")
  10. src += Glob(cwd+"/common/src/fx_utility_memory_copy.c")
  11. if GetDepend(['PKG_USING_FILEX_DEMO_BLK']):
  12. src += Glob("fx_user_driver.c")
  13. path = [cwd + '/common/inc']
  14. path += [cwd + '/ports/generic/inc']
  15. group = DefineGroup('Filex', src, depend = ['PKG_USING_FILEX'], CPPPATH = path)
  16. Return('group')