X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-data%2Fplatforms%2Fvpp.mk;h=10184964e2308f55578de17121fa8ff945071ce4;hb=3460b014a7bd5a19fb59ae335120bfa93ecb2c77;hp=9f01a656e0bea233c14834963b66e6b4ab9929ed;hpb=ba3c77364cc8b7dfb136e955458177e1a9a14c98;p=vpp.git diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk index 9f01a656e0b..10184964e23 100644 --- a/build-data/platforms/vpp.mk +++ b/build-data/platforms/vpp.mk @@ -19,42 +19,22 @@ vpp_arch = native ifeq ($(TARGET_PLATFORM),thunderx) vpp_dpdk_target = arm64-thunderx-linuxapp-gcc endif -vpp_native_tools = vppapigen -vpp_uses_dpdk = yes - -# Uncoment to enable building unit tests -# vpp_enable_tests = yes - -vpp_root_packages = vpp - -# DPDK configuration parameters -# vpp_uses_dpdk_mlx5_pmd = yes -# vpp_uses_external_dpdk = yes -# vpp_dpdk_inc_dir = /usr/include/dpdk -# 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 -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_root_packages = vpp vom japi vpp_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 \ -fstack-protector-all -fPIC -Werror +vpp_debug_TAG_CXXFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 \ + -fstack-protector-all -fPIC -Werror vpp_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 \ -fstack-protector-all -fPIC -Werror vpp_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror -vpp_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror +vpp_TAG_CXXFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror +vpp_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror -pie -Wl,-z,now vpp_clang_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror +vpp_clang_TAG_CXXFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror vpp_clang_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -fstack-protector -fPIC -Werror vpp_gcov_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -fPIC -Werror -fprofile-arcs -ftest-coverage