diff options
| author | [email protected] <[email protected]> | 2011-05-23 01:04:03 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-05-23 01:04:03 +0000 |
| commit | ea5421567ccc6edccc64e76b18e68c8d03dbad1c (patch) | |
| tree | 17f9f3e02e0330084d26df85479a5353a3483e92 /examples/module/SConstruct | |
| parent | 477dec24b497c2c399d0c3a665bc65ec2aab05ee (diff) | |
update module construction
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1422 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/module/SConstruct')
| -rw-r--r-- | examples/module/SConstruct | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/examples/module/SConstruct b/examples/module/SConstruct deleted file mode 100644 index 2d1814c197..0000000000 --- a/examples/module/SConstruct +++ /dev/null @@ -1,38 +0,0 @@ -import os
-import sys
-import rtconfig
-
-RTT_ROOT = os.path.normpath(os.getcwd() + '/../..')
-sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
-import building
-
-target = RTT_ROOT + '/bsp/mini2440/rtthread-mini2440'
-projects = []
-
-AddOption('--target',
- dest='target',
- type='string',
- help='set target project: mdk')
-
-if GetOption('target'):
- SetOption('no_exec', 1)
-
-TARGET = target + '.' + rtconfig.TARGET_EXT
-
-env = Environment(tools = ['mingw'],
- AS = rtconfig.AS, ASFLAGS = rtconfig.AFLAGS,
- CC = rtconfig.CC, CCFLAGS = rtconfig.CFLAGS,
- AR = rtconfig.AR, ARFLAGS = '-rc',
- LINK = rtconfig.LINK, LINKFLAGS = rtconfig.LFLAGS)
-env.PrependENVPath('PATH', rtconfig.EXEC_PATH)
-
-Export('env')
-Export('RTT_ROOT')
-Export('rtconfig')
-Export('projects')
-Export('TARGET')
-
-SConscript(RTT_ROOT + '/examples/module/tetris/SConscript', duplicate=0)
-SConscript(RTT_ROOT + '/examples/module/basicapp/SConscript', duplicate=0)
-SConscript(RTT_ROOT + '/examples/module/extension/SConscript', duplicate=0)
-SConscript(RTT_ROOT + '/examples/module/extapp/SConscript', duplicate=0)
\ No newline at end of file |
