mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-10-20 05:25:04 +08:00
[fix][feature]Default to the previous fully packaged logic, add a 'dist-strip' option for simplified packaging.
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
# Change Logs:
|
||||
# Date Author Notes
|
||||
# 2022-04-20 WuGensheng Add Options to SCons
|
||||
#
|
||||
# 2025-03-02 ZhaoCake Add Options about compile_commands
|
||||
|
||||
from SCons.Script import AddOption
|
||||
import platform
|
||||
@@ -147,4 +147,10 @@ def AddOptions():
|
||||
help = 'View attachconfig or add attach to.config.'+\
|
||||
'e.g. scons --attach=? View all attachconfig for the current bsp.'+\
|
||||
' or scons --attach=component.cherryusb_cdc Set option component.cherryusb_cdc inside attachconfig to.config.'+\
|
||||
' or scons --attach=default Restore.config and rtconfig to before attch was set.')
|
||||
' or scons --attach=default Restore.config and rtconfig to before attch was set.')
|
||||
AddOption('--dist-strip',
|
||||
dest='dist_strip',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='create minimal distribution based on compile_commands.json.'+\
|
||||
'So you should run `bear -- scons` to generate compile_commands.json first.')
|
Reference in New Issue
Block a user