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>
This commit is contained in:
Dave Barach
2017-11-06 16:06:05 -05:00
committed by Chris Luke
parent c97a7398fc
commit 7b0c6737ed
3 changed files with 11 additions and 2 deletions

View File

@@ -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) \