aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3bdba65a8e5..aaba277ec28 100644
--- a/Makefile
+++ b/Makefile
@@ -606,7 +606,9 @@ cscope: cscope.files
.PHONY: compdb
compdb:
- @ninja -C build-root/build-vpp_debug-native/vpp -t compdb > compile_commands.json
+ @ninja -C build-root/build-vpp_debug-native/vpp build.ninja
+ @ninja -C build-root/build-vpp_debug-native/vpp -t compdb | \
+ extras/scripts/compdb_cleanup.py > compile_commands.json
.PHONY: checkstyle
checkstyle: checkfeaturelist