Damjan Marion | e936bbe | 2016-02-25 23:17:38 +0100 | [diff] [blame] | 1 | vlib_configure_depend = vppinfra-install |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 2 | |
Damjan Marion | e936bbe | 2016-02-25 23:17:38 +0100 | [diff] [blame] | 3 | vlib_CPPFLAGS = $(call installed_includes_fn, vppinfra) |
| 4 | vlib_LDFLAGS = $(call installed_libs_fn, vppinfra) |
| 5 | |
Damjan Marion | 802c7fa | 2016-02-27 00:12:55 +0100 | [diff] [blame] | 6 | ifneq ($($(PLATFORM)_uses_dpdk),no) |
Ed Warnicke | cb9cada | 2015-12-08 15:45:58 -0700 | [diff] [blame] | 7 | vlib_configure_args += --with-dpdk |
Damjan Marion | 28e3db9 | 2016-04-01 12:35:17 +0200 | [diff] [blame] | 8 | ifeq ($($(PLATFORM)_uses_external_dpdk),yes) |
| 9 | vlib_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir) |
| 10 | vlib_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir) |
| 11 | else |
| 12 | vlib_configure_depend += dpdk-install |
Damjan Marion | e936bbe | 2016-02-25 23:17:38 +0100 | [diff] [blame] | 13 | vlib_CPPFLAGS += $(call installed_includes_fn, dpdk) |
| 14 | vlib_LDFLAGS += $(call installed_libs_fn, dpdk) |
| 15 | endif |
Damjan Marion | 28e3db9 | 2016-04-01 12:35:17 +0200 | [diff] [blame] | 16 | endif |