@@ -1,8 +1,9 @@
# for module compiling
import os
Import('RTT_ROOT')
+from building import *
-cwd = str(Dir('#'))
+cwd = GetCurrentDir()
objs = []
list = os.listdir(cwd)
@@ -1,8 +1,6 @@
-Import('RTT_ROOT')
-Import('rtconfig')
from building import *
-cwd = os.path.join(str(Dir('#')), 'drivers')
# add the general drivers.
src = Split("""