mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-02-21 01:07:18 +08:00
[Tools] Add win32 spawn patch for module building.
This commit is contained in:
parent
a65ee8ac45
commit
2e2886168e
@ -267,6 +267,12 @@ def PrepareModuleBuilding(env, root_directory, bsp_directory):
|
||||
global Env
|
||||
global Rtt_Root
|
||||
|
||||
# patch for win32 spawn
|
||||
if env['PLATFORM'] == 'win32':
|
||||
win32_spawn = Win32Spawn()
|
||||
win32_spawn.env = env
|
||||
env['SPAWN'] = win32_spawn.spawn
|
||||
|
||||
Env = env
|
||||
Rtt_Root = root_directory
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user