mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-03-27 09:32:28 +08:00
building: PrepareBuilding forgot to declare BuildOptions as global
The global variables in the building.py are totally a pile of shit.
This commit is contained in:
@@ -259,6 +259,7 @@ def PrepareBuilding(env, root_directory, has_libcpu=False, remove_components = [
|
||||
def PrepareModuleBuilding(env, root_directory, bsp_directory):
|
||||
import rtconfig
|
||||
|
||||
global BuildOptions
|
||||
global Env
|
||||
global Rtt_Root
|
||||
|
||||
|
||||
Reference in New Issue
Block a user