Fork自 RT-Thread / rt-thread
体验新版 GitCode,发现更多精彩内容 >>
Import('RTT_ROOT') Import('rtconfig') from building import * cwd = os.path.join(str(Dir('#')), 'applications') src = Glob('*.c') CPPPATH = [cwd, str(Dir('#'))] # add for startup script if rtconfig.CROSS_TOOL == 'gcc': CPPDEFINES = ['__START=entry'] else: CPPDEFINES = [] group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES) Return('group')