diff options
author | Damjan Marion <damarion@cisco.com> | 2016-04-01 12:35:17 +0200 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2016-04-01 15:22:15 +0000 |
commit | 28e3db9dd617324a3196f369788d62cc72b5903b (patch) | |
tree | 269e5356bf01e5565d7ac2006778dbad1be5edad /build-data/platforms/vpp.mk | |
parent | aa04a0ff8ee9aa7779b30e936f7fe1304c613d57 (diff) |
Add options to link with external DPDK tree
By uncommenting following lines in the build-data/platforms/vpp.mk
VPP links nicely with packaged DPDK 2.2 distributed with
Ubuntu 16.04 LTS.
vpp_uses_external_dpdk = yes
vpp_dpdk_inc_dir = /usr/include/dpdk
vpp_dpdk_lib_dir = /usr/lib
vpp_dpdk_shared_lib = yes
Change-Id: Id5b7d95bac6aa60341933b92e86d949a9abf1a5d
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build-data/platforms/vpp.mk')
-rw-r--r-- | build-data/platforms/vpp.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/build-data/platforms/vpp.mk b/build-data/platforms/vpp.mk index 50c85dcc7c1..9b4a78c89e7 100644 --- a/build-data/platforms/vpp.mk +++ b/build-data/platforms/vpp.mk @@ -17,7 +17,7 @@ vpp_native_tools = vppapigen vpp_uses_dpdk = yes -vpp_root_packages = vpp vlib vlib-api vnet svm dpdk vpp-api-test \ +vpp_root_packages = vpp vlib vlib-api vnet svm vpp-api-test \ vpp-japi gmod vpp_configure_args_vpp = --with-dpdk @@ -26,6 +26,11 @@ 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 +# DPDK configuration parameters +# vpp_uses_external_dpdk = yes +# vpp_dpdk_inc_dir = /usr/include/dpdk +# vpp_dpdk_lib_dir = /usr/lib +# vpp_dpdk_shared_lib = yes vpp_debug_TAG_CFLAGS = -g -O0 -DCLIB_DEBUG -DFORTIFY_SOURCE=2 -march=$(MARCH) \ -fstack-protector-all -fPIC -Werror |