update ftk calculator demo

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1230 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
qiuyiuestc 2011-01-01 14:37:00 +00:00
parent e97fa0027d
commit 6389520f5e
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ env.Append(CCFLAGS = group['CCFLAGS'])
env.Append(CPPPATH = group['CPPPATH']) env.Append(CPPPATH = group['CPPPATH'])
env.Append(CPPDEFINES = group['CPPDEFINES']) env.Append(CPPDEFINES = group['CPPDEFINES'])
module_env = env.Clone(CCFLAGS = ' -DRT_THREAD -mcpu=arm920t -O0 -fPIC') module_env = env.Clone(CCFLAGS = ' -DRT_THREAD -mcpu=arm920t -O0 -fPIC')
module_env.Replace(LINKFLAGS = '-z max-page-size=0x4 -shared -fPIC -e ftk_app_calc_create -nostdlib') module_env.Replace(LINKFLAGS = '-z max-page-size=0x4 -shared -fPIC -e 0 -nostdlib -s')
module_env.Program(target, src_local) module_env.Program(target, src_local)
module_env.AddPostAction(target, POST_ACTION) module_env.AddPostAction(target, POST_ACTION)