|
@@ -5,7 +5,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')]
|
|
|
try:
|
|
@@ -46,10 +46,10 @@ Export('RTT_ROOT')
|
|
|
Export('rtconfig')
|
|
|
|
|
|
SDK_ROOT = os.path.abspath('./')
|
|
|
-if os.path.exists(SDK_ROOT + '/libraries'):
|
|
|
- libraries_path_prefix = SDK_ROOT + '/libraries'
|
|
|
+if os.path.exists(SDK_ROOT + '/../libraries'):
|
|
|
+ libraries_path_prefix = SDK_ROOT + '/../libraries'
|
|
|
else:
|
|
|
- libraries_path_prefix = os.path.dirname(SDK_ROOT) + '/libraries'
|
|
|
+ libraries_path_prefix = os.path.dirname(SDK_ROOT) + '/../libraries'
|
|
|
|
|
|
SDK_LIB = libraries_path_prefix
|
|
|
Export('SDK_LIB')
|