Explorar el Código

Use bridge script for SConscript

Bernard Xiong hace 6 años
padre
commit
1cb27129c6
Se han modificado 1 ficheros con 3 adiciones y 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)