summaryrefslogtreecommitdiffstats
path: root/build-data/platforms/vpp.mk
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2017-11-06 16:06:05 -0500
committerChris Luke <chris_luke@comcast.com>2017-11-06 22:28:51 +0000
commit7b0c6737ed1e58d7902a513046e1b617a146cf23 (patch)
tree5528578ebf7250d2bb0ba8d771fe3de4cb58f978 /build-data/platforms/vpp.mk
parentc97a7398fc465c480a3ac66cf4b0f91a034ed564 (diff)
Add --disable-vom config option
The vpp object model consumes more than half of the entire [initial] build time, so it's worth adding a config option. Change-Id: I86ad41f78160d93835804235b8b4a3fc7988f2f7 Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'build-data/platforms/vpp.mk')
-rw-r--r--build-data/platforms/vpp.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk
index 7745717483a..f764a1f9ae5 100644
--- a/build-data/platforms/vpp.mk
+++ b/build-data/platforms/vpp.mk
@@ -45,11 +45,17 @@ vpp_root_packages = vpp
# vpp_dpdk_lib_dir = /usr/lib
# vpp_dpdk_shared_lib = yes
+vpp_configure_args_vpp =
+
# load balancer plugin is not portable on 32 bit platform
ifeq ($(MACHINE),i686)
-vpp_configure_args_vpp = --disable-lb-plugin
+vpp_configure_args_vpp += --disable-lb-plugin
endif
+# To disable the VPP object model build - and save about half the build time -
+# uncomment the following...
+# vpp_configure_args_vpp += --disable-vom
+
vpp_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -march=$(MARCH) \
-fstack-protector-all -fPIC -Werror
vpp_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -march=$(MARCH) \