fix scons --target=cmake command failure (#10276)

* fix scons --target=cmake command failure

* fix scons --menuconfig
scons: Reading SConscript files ...
Cannot found RT-Thread root directory, please check RTT_ROOT
This commit is contained in:
冥焱破晓
2025-05-21 22:15:04 +08:00
committed by GitHub
parent cd3789f8ec
commit d64ce335fc
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
# for module compiling
import os
Import('RTT_ROOT')
Import('env')
from building import *