X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=build-data%2Fplatforms%2Fvpp.mk;h=f71427c1ae650f0774575e6ede79260819052858;hb=2baa115da3b752cd7e44cc477f2c45bda22d444b;hp=b84fc976ea4e6efed1cd1a594ce67395ea6a00bb;hpb=806afd651e4ea601f6c9e0f1a3f84372f11fa8bb;p=vpp.git diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk index b84fc976ea4..f71427c1ae6 100644 --- a/build-data/platforms/vpp.mk +++ b/build-data/platforms/vpp.mk @@ -12,27 +12,18 @@ # limitations under the License. # vector packet processor -vpp_arch = native -vpp_native_tools = vppapigen - -vpp_root_packages = vpp vlib vlib-api vnet svm dpdk vpp-api-test \ - vpp-japi vppctl -vpp_configure_args_vpp = --with-dpdk -vnet_configure_args_vpp = --with-dpdk - -# Set these parameters carefully. The vlib_buffer_t is 128 bytes, i.e. -# dpdk_headroom = uiotarball_headroom = vlib_pre_data + 128 -dpdk_configure_args_vpp = --with-headroom=256 -vlib_configure_args_vpp = --with-pre-data=128 +MACHINE=$(shell uname -m) +vpp_arch = native +ifeq ($(TARGET_PLATFORM),thunderx) +vpp_dpdk_target = arm64-thunderx-linuxapp-gcc +endif -vpp_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -march=$(MARCH) \ - -fstack-protector-all -fPIC -vpp_debug_TAG_LDFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -march=$(MARCH) \ - -fstack-protector-all -fPIC +vpp_root_packages = vpp vom -vpp_TAG_CFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -march=$(MARCH) \ - -fstack-protector -fPIC -vpp_TAG_LDFLAGS = -g -O2 -DFORTIFY_SOURCE=2 -march=$(MARCH) \ - -fstack-protector -fPIC +vpp_debug_TAG_BUILD_TYPE = debug +vpp_TAG_BUILD_TYPE = release +vpp_clang_TAG_BUILD_TYPE = release +vpp_gcov_TAG_BUILD_TYPE = gcov +vpp_coverity_TAG_BUILD_TYPE = coverity