VPP-166 Documentation changes for ip4.h/lookup.h
[vpp.git] / build-data / platforms / vpp.mk
index ec0d874..977c4c3 100644 (file)
 
 # vector packet processor
 vpp_arch = native
+ifeq ($(shell uname -m),x86_64)
 vpp_march = corei7                     # Nehalem Instruction set
 vpp_mtune = corei7-avx                 # Optimize for Sandy Bridge
 vpp_dpdk_arch = corei7
+else
+vpp_march = native
+vpp_mtune = generic
+vpp_dpdk_arch = native
+endif
 vpp_native_tools = vppapigen
 
 vpp_uses_dpdk = yes
@@ -24,7 +30,7 @@ vpp_uses_dpdk = yes
 # vpp_enable_tests = yes
 
 vpp_root_packages = vpp vlib vlib-api vnet svm vpp-api-test \
-       vpp-api gmod
+       vpp-api gmod plugins
 
 vpp_configure_args_vpp = --with-dpdk
 vnet_configure_args_vpp = --with-dpdk
@@ -32,6 +38,8 @@ vnet_configure_args_vpp = --with-dpdk
 # Set these parameters carefully. The vlib_buffer_t is 128 bytes, i.e.
 vlib_configure_args_vpp = --with-pre-data=128
 
+plugins_configure_args_vpp = --with-dpdk
+
 # DPDK configuration parameters
 # vpp_uses_external_dpdk = yes
 # vpp_dpdk_inc_dir = /usr/include/dpdk