summaryrefslogtreecommitdiff
path: root/tools/options.py
diff options
context:
space:
mode:
authorbernard <[email protected]>2024-05-03 16:04:55 +0800
committerMeco Man <[email protected]>2024-05-03 20:17:23 -0400
commitc4e7a0e5e3d4442983942a0f79b16e8200ea9b17 (patch)
tree958facb726a3966e56594b3d47b840c49400e883 /tools/options.py
parentb632dc1aaf2efa4156b87b2d534cf6732010eaee (diff)
[tools] Add --cdb to make compile_commands.json.
Diffstat (limited to 'tools/options.py')
-rw-r--r--tools/options.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/options.py b/tools/options.py
index ef22230aa5..c1b3967369 100644
--- a/tools/options.py
+++ b/tools/options.py
@@ -136,3 +136,8 @@ def AddOptions():
action = 'store_true',
default = False,
help = 'make menuconfig for RT-Thread BSP')
+ AddOption('--cdb',
+ dest = 'cdb',
+ action = 'store_true',
+ default = False,
+ help = 'make compile_commands.json')