summaryrefslogtreecommitdiff
path: root/components/external/lua/applications/SConscript
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-11-10 07:32:39 +0000
committer[email protected] <[email protected]>2012-11-10 07:32:39 +0000
commitc77e9d5c76edada64500fa4c38dee847992f61d7 (patch)
treef145b9e1312059dab6002d46188a91238fec4079 /components/external/lua/applications/SConscript
parent0d77b327a998c35e53025690415a3d355717eb95 (diff)
add lua support for rt-thead
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2399 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/external/lua/applications/SConscript')
-rw-r--r--components/external/lua/applications/SConscript11
1 files changed, 11 insertions, 0 deletions
diff --git a/components/external/lua/applications/SConscript b/components/external/lua/applications/SConscript
new file mode 100644
index 0000000000..c891d565be
--- /dev/null
+++ b/components/external/lua/applications/SConscript
@@ -0,0 +1,11 @@
+
+import os
+from building import *
+
+cwd = GetCurrentDir()
+src = Glob('*.c')
+CPPPATH = [cwd, str(Dir('#'))]
+
+group = DefineGroup('lua', src, depend = ['RT_USING_LUA'], CPPPATH = CPPPATH)
+
+Return('group')