mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-28 10:00:24 +00:00
clean up module config file and SConscript
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1113 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
@@ -27,8 +27,7 @@ env.Append(CPPPATH = group['CPPPATH'])
|
||||
env.Append(CPPDEFINES = group['CPPDEFINES'])
|
||||
module_env = env.Clone(CPPDEFINE = 'RT_MODULE')
|
||||
module_env = env.Clone(CCFLAGS = ' -mcpu=arm920t -O0 -fPIC')
|
||||
module_env.Replace(LINK = 'arm-none-eabi-ld')
|
||||
module_env.Replace(LINKFLAGS = '-z max-page-size=0x4 -shared -fPIC -e rt_application_entry -nostdlib -s')
|
||||
module_env.Replace(LINKFLAGS = '-z max-page-size=0x4 -shared -fPIC -e rt_application_init -nostdlib -s')
|
||||
module_env.Program(target, src_local)
|
||||
module_env.AddPostAction(target, POST_ACTION)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
typedef void (*func)(void);
|
||||
|
||||
int rt_application_entry(void)
|
||||
int rt_application_init(void)
|
||||
{
|
||||
func f1, f2, f3, f4, f5;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user