mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-22 19:44:24 +08:00
[tools] Add --add-rtconfig args for scons when you want to add macro definitions build time.
This commit is contained in:
@@ -127,6 +127,10 @@ def AddOptions():
|
||||
action = 'store_true',
|
||||
default = False,
|
||||
help = 'Don`t show pyconfig window')
|
||||
AddOption('--add-rtconfig',
|
||||
dest = 'add_rtconfig',
|
||||
type = 'string',
|
||||
help = 'Add macro definitions and scons depend at build time. It is similar to adding macro definitions in rtconfig.h')
|
||||
if platform.system() != 'Windows':
|
||||
AddOption('--menuconfig',
|
||||
dest = 'menuconfig',
|
||||
|
||||
Reference in New Issue
Block a user