From 04fa66ca3d781e516a6ac38c3b18c673ee16df04 Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Fri, 16 Apr 2010 06:19:59 +0000 Subject: add module building script. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@627 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- components/thread/SConscript | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 components/thread/SConscript (limited to 'components/thread/SConscript') diff --git a/components/thread/SConscript b/components/thread/SConscript new file mode 100644 index 0000000000..8ce2fcead5 --- /dev/null +++ b/components/thread/SConscript @@ -0,0 +1,10 @@ +Import('env') + +target = 'thread.mo' + +module_env = env.Clone(CPPDEFINE = 'RT_MODULE') +module_env.Replace(LINKFLAGS = ' -r -d -e rtm_main -nostdlib') + +src_local = Glob('*.c') + +module_env.Program(target, src_local) -- cgit v1.3.1