diff options
Diffstat (limited to 'components/thread/SConscript')
| -rw-r--r-- | components/thread/SConscript | 10 |
1 files changed, 10 insertions, 0 deletions
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)
|
