diff options
| author | LaterComer <[email protected]> | 2024-04-19 08:48:32 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-04-18 20:48:32 -0400 |
| commit | 6311bcaf24e1d77ef63f01622f15b8b12ea5bbb1 (patch) | |
| tree | 711c1fb5f95f4b5d259d4b0130c0663f3eda5be4 /tools/options.py | |
| parent | 202bacb44d9a4a253d74653d26714c1ae825822c (diff) | |
将scons --menuconfig/--pyconfig/--pyconfig-silent统一调用kconfiglib
Diffstat (limited to 'tools/options.py')
| -rw-r--r-- | tools/options.py | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/tools/options.py b/tools/options.py index c84d824ba9..ef22230aa5 100644 --- a/tools/options.py +++ b/tools/options.py @@ -121,19 +121,18 @@ def AddOptions(): action = 'store_true', default = False, help = 'reset the project configurations to default') - AddOption('--pyconfig', + AddOption('--pyconfig', '--guiconfig', dest = 'pyconfig', action = 'store_true', default = False, help = 'Python GUI menuconfig for RT-Thread BSP') - AddOption('--pyconfig-silent', + AddOption('--pyconfig-silent', '--defconfig', dest = 'pyconfig-silent', action = 'store_true', default = False, help = 'Don`t show pyconfig window') - if platform.system() != 'Windows': - AddOption('--menuconfig', - dest = 'menuconfig', - action = 'store_true', - default = False, - help = 'make menuconfig for RT-Thread BSP') + AddOption('--menuconfig', + dest = 'menuconfig', + action = 'store_true', + default = False, + help = 'make menuconfig for RT-Thread BSP') |
