mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-17 05:43:31 +08:00
c3ff9772b7
- timespec has already been declared - <sys/socket.h> not found
24 lines
474 B
Python
24 lines
474 B
Python
import rtconfig
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
CPPPATH = [cwd, str(Dir('#'))]
|
|
src = Split("""
|
|
application.c
|
|
startup.c
|
|
""")
|
|
|
|
# add for startup script
|
|
if rtconfig.CROSS_TOOL == 'iar':
|
|
CPPDEFINES = ['_TIMESPEC_DEFINED']
|
|
else:
|
|
CPPDEFINES = []
|
|
|
|
# add UI engine demo.
|
|
if GetDepend('RT_USING_GUIENGINE'):
|
|
src += ['rtgui_demo.c']
|
|
|
|
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
|
|
|
|
Return('group')
|