X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=Makefile;h=aaba277ec28c8b66b72acbce44625d78925558a7;hb=aeb7d80c84b0084c8f63792dc8588193e0bc28a3;hp=44cddc13cadfd9ad53176e74aa7cf7e9c7598f9b;hpb=8c1afb56b6a479d6595444238815c4ced0e754ea;p=vpp.git diff --git a/Makefile b/Makefile index 44cddc13cad..aaba277ec28 100644 --- a/Makefile +++ b/Makefile @@ -19,7 +19,7 @@ PLATFORM?=vpp SAMPLE_PLUGIN?=no STARTUP_DIR?=$(PWD) MACHINE=$(shell uname -m) -SUDO?=sudo +SUDO?=sudo -E DPDK_CONFIG?=no-pci ,:=, @@ -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