blob: 2172708d07e81b034e07a7cbc53ec368a7adcce5 [file] [log] [blame]
Damjan Marione936bbe2016-02-25 23:17:38 +01001vlib_configure_depend = vppinfra-install
Ed Warnickecb9cada2015-12-08 15:45:58 -07002
Damjan Marione936bbe2016-02-25 23:17:38 +01003vlib_CPPFLAGS = $(call installed_includes_fn, vppinfra)
4vlib_LDFLAGS = $(call installed_libs_fn, vppinfra)
5
Damjan Marion802c7fa2016-02-27 00:12:55 +01006ifneq ($($(PLATFORM)_uses_dpdk),no)
Ed Warnickecb9cada2015-12-08 15:45:58 -07007vlib_configure_args += --with-dpdk
Damjan Marion28e3db92016-04-01 12:35:17 +02008ifeq ($($(PLATFORM)_uses_external_dpdk),yes)
9vlib_CPPFLAGS += -I$($(PLATFORM)_dpdk_inc_dir)
10vlib_LDFLAGS += -L$($(PLATFORM)_dpdk_lib_dir)
11else
12vlib_configure_depend += dpdk-install
Damjan Marione936bbe2016-02-25 23:17:38 +010013vlib_CPPFLAGS += $(call installed_includes_fn, dpdk)
14vlib_LDFLAGS += $(call installed_libs_fn, dpdk)
15endif
Damjan Marion28e3db92016-04-01 12:35:17 +020016endif