update mini2440 configure.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@647 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
8055a0a7ef
commit
206355399a
|
@ -50,4 +50,4 @@ env.Program(TARGET, objs)
|
|||
env.AddPostAction(TARGET, rtconfig.POST_ACTION)
|
||||
|
||||
if GetOption('target') == 'mdk':
|
||||
mdk.MDKProject('project_2.uV2', projects)
|
||||
mdk.MDKProject('project.uV2', projects)
|
||||
|
|
|
@ -73,6 +73,9 @@
|
|||
/* SECTION: finsh, a C-Express shell */
|
||||
/* Using FinSH as Shell*/
|
||||
#define RT_USING_FINSH
|
||||
/* Using symbol table */
|
||||
#define FINSH_USING_SYMTAB
|
||||
#define FINSH_USING_DESCRIPTION
|
||||
|
||||
/* SECTION: a runtime libc library */
|
||||
/* a runtime libc library */
|
||||
|
|
|
@ -5,12 +5,12 @@ import SCons.cpp
|
|||
# make all component false
|
||||
RT_USING_FINSH = False
|
||||
RT_USING_DFS = False
|
||||
RT_USING_DFS_EFSL = False
|
||||
RT_USING_DFS_ELMFAT = False
|
||||
RT_USING_DFS_YAFFS2 = False
|
||||
RT_USING_LWIP = False
|
||||
RT_USING_WEBSERVER = False
|
||||
RT_USING_RTGUI = False
|
||||
RT_USING_MODBUS = False
|
||||
|
||||
# parse rtconfig.h to get used component
|
||||
PreProcessor = SCons.cpp.PreProcessor()
|
||||
|
@ -28,8 +28,6 @@ if rtconfig_ns.has_key('RT_USING_FINSH'):
|
|||
if rtconfig_ns.has_key('RT_USING_DFS'):
|
||||
RT_USING_DFS = True
|
||||
|
||||
if rtconfig_ns.has_key('RT_USING_DFS_EFSL'):
|
||||
RT_USING_DFS_EFSL = True
|
||||
if rtconfig_ns.has_key('RT_USING_DFS_ELMFAT'):
|
||||
RT_USING_DFS_ELMFAT = True
|
||||
if rtconfig_ns.has_key('RT_USING_DFS_YAFFS2'):
|
||||
|
@ -90,8 +88,6 @@ if PLATFORM == 'gcc':
|
|||
else:
|
||||
CFLAGS += ' -O2'
|
||||
|
||||
if RT_USING_FINSH:
|
||||
CFLAGS += ' -D FINSH_USING_SYMTAB -DFINSH_USING_DESCRIPTION'
|
||||
if RT_USING_WEBSERVER:
|
||||
CFLAGS += ' -DWEBS -DUEMF -DRTT -D__NO_FCNTL=1 -DRT_USING_WEBSERVER'
|
||||
RT_USING_MINILIBC = True
|
||||
|
|
Loading…
Reference in New Issue