Explorar o código

Use bridge script for SConscript

Bernard Xiong %!s(int64=6) %!d(string=hai) anos
pai
achega
1cb27129c6
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      bsp/stm32/stm32l476-st-nucleo/SConscript

+ 3 - 3
bsp/stm32/stm32l476-st-nucleo/SConscript

@@ -1,8 +1,8 @@
-# for module compiling
+# RT-Thread scons bridge
 import os
-Import('RTT_ROOT')
+from building import *
 
-cwd = str(Dir('#'))
+cwd = GetCurrentDir()
 objs = []
 list = os.listdir(cwd)