Parcourir la source

Use bridge script for SConscript

Bernard Xiong il y a 6 ans
Parent
commit
1cb27129c6
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  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)