diff options
author | Sachin Saxena <sachin.saxena@nxp.com> | 2017-06-15 14:34:30 +0530 |
---|---|---|
committer | srsurend <srsurend@cisco.com> | 2017-07-03 06:09:53 -0400 |
commit | 704381d7bac04215ef270359f34658856c00d9a0 (patch) | |
tree | 3175cbb46106deb423d242f2be61c74968cda2d0 /build-data/packages | |
parent | 8e60f32c576095fe44b904a9d0a99f5da2c081ab (diff) |
Introducing ODP plugin node
Change-Id: I364fa14ade5282ec828662894041f9cc784ace7c
Signed-off-by: srsurend <srsurend@cisco.com>
Signed-off-by: sachin saxena <sachin.saxena@nxp.com>
Diffstat (limited to 'build-data/packages')
-rw-r--r-- | build-data/packages/vpp.mk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/build-data/packages/vpp.mk b/build-data/packages/vpp.mk index 1acc59b2..3ff971c7 100644 --- a/build-data/packages/vpp.mk +++ b/build-data/packages/vpp.mk @@ -13,6 +13,13 @@ vpp_configure_args += $(vpp_configure_args_$(PLATFORM)) vpp_CPPFLAGS = vpp_LDFLAGS = +#Include ODP library only if ODP is being used. +ifeq ($($(PLATFORM)_uses_odp),yes) +vpp_CPPFLAGS += -I$($(PLATFORM)_odp_inc_dir) +vpp_LDFLAGS += -L$($(PLATFORM)_odp_lib_dir) +export ODP_LIBS= $($(PLATFORM)_odp_libs) +endif + ifneq ($($(PLATFORM)_uses_dpdk),no) ifeq ($($(PLATFORM)_uses_external_dpdk),yes) vpp_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir) |