1# RT-Thread building script for component 2 3from building import * 4 5cwd = GetCurrentDir() 6src = Split(''' 7dfs_jffs2.c 8porting.c 9 10cyg/compress/src/adler32.c 11cyg/compress/src/compress.c 12cyg/compress/src/deflate.c 13cyg/compress/src/infback.c 14cyg/compress/src/inffast.c 15cyg/compress/src/inflate.c 16cyg/compress/src/inftrees.c 17cyg/compress/src/trees.c 18cyg/compress/src/uncompr.c 19cyg/compress/src/zutil.c 20 21cyg/crc/crc16.c 22cyg/crc/crc32.c 23cyg/crc/posix_crc.c 24kernel/rbtree.c 25src/build.c 26src/compr.c 27src/compr_rtime.c 28src/compr_rubin.c 29src/compr_zlib.c 30src/debug.c 31src/dir-ecos.c 32src/erase.c 33src/flashio.c 34src/fs-ecos.c 35src/gc.c 36src/gcthread.c 37src/malloc-ecos.c 38src/nodelist.c 39src/nodemgmt.c 40src/read.c 41src/readinode.c 42src/scan.c 43src/write.c 44''') 45 46CPPPATH = [cwd, cwd + '/include', cwd + '/src', cwd + '/cyg', cwd + '/kernel', cwd + '/cyg/compress'] 47 48group = DefineGroup('Filesystem', src, depend = ['RT_USING_DFS', 'RT_USING_DFS_JFFS2'], CPPPATH = CPPPATH) 49 50Return('group') 51