diff options
author | Damjan Marion <damarion@cisco.com> | 2016-02-25 23:17:38 +0100 |
---|---|---|
committer | Damjan Marion <damarion@cisco.com> | 2016-02-26 13:17:30 +0100 |
commit | e936bbe5945ca3c0f522f6c0abdfbdaa407bcb84 (patch) | |
tree | 28ccdd0be90ff9236fc57cf058a42d378ddbb250 /build-data/packages/vlib.mk | |
parent | 7f620976e2cb900fa5e0dccdbb769e3cc208841d (diff) |
Add support for native vpp_lite (non-dpdk) platform
Change-Id: Icaa71957f67b923bc9795baa78c7495055615672
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'build-data/packages/vlib.mk')
-rw-r--r-- | build-data/packages/vlib.mk | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/build-data/packages/vlib.mk b/build-data/packages/vlib.mk index 11bb1c7a..8b72b602 100644 --- a/build-data/packages/vlib.mk +++ b/build-data/packages/vlib.mk @@ -1,6 +1,11 @@ -vlib_configure_depend = vppinfra-install dpdk-install +vlib_configure_depend = vppinfra-install -vlib_configure_args += --with-dpdk +vlib_CPPFLAGS = $(call installed_includes_fn, vppinfra) +vlib_LDFLAGS = $(call installed_libs_fn, vppinfra) -vlib_CPPFLAGS = $(call installed_includes_fn, vppinfra dpdk) -vlib_LDFLAGS = $(call installed_libs_fn, vppinfra dpdk) +ifeq ($($(PLATFORM)_uses_dpdk),yes) +vlib_configure_depend += dpdk-install +vlib_configure_args += --with-dpdk +vlib_CPPFLAGS += $(call installed_includes_fn, dpdk) +vlib_LDFLAGS += $(call installed_libs_fn, dpdk) +endif |