diff options
| author | [email protected] <[email protected]> | 2011-10-05 00:52:30 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-10-05 00:52:30 +0000 |
| commit | cbfe1d64de7750de34a13c85b704f26184884c07 (patch) | |
| tree | 99a9a74a8e75ce2969d0cb5a0740683be0ed2feb /examples/module | |
| parent | 02c43b16b0e586351fc1f4bd04f7e3e41e029be5 (diff) | |
fix module compile error when RTT_ROOT variable not to be set
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1738 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/module')
| -rw-r--r-- | examples/module/SConstruct | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/module/SConstruct b/examples/module/SConstruct index dae6292170..47bff46f1c 100644 --- a/examples/module/SConstruct +++ b/examples/module/SConstruct @@ -6,7 +6,7 @@ import rtconfig if os.getenv('RTT_ROOT'):
RTT_ROOT = os.getenv('RTT_ROOT')
else:
- RTT_ROOT = os.path.normpath(os.getcwd() + '/../../..')
+ RTT_ROOT = os.path.normpath(os.getcwd() + '/../..')
sys.path = sys.path + [os.path.join(RTT_ROOT, 'tools')]
from building import *
|
