env_dpdk: remove hard-coded library paths
The default method for building DPDK now is via the submodule, and users that explicitly want to link a different DPDK need to specify its path during configure. Therefore, nothing should be depending on these hard-coded paths, and we can remove them. Change-Id: Ic7d70ef10c46f9711691fb804f7dc854e05f7ed1 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/401075 Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
0e0a489013
commit
488e6418a5
@ -39,15 +39,7 @@
|
||||
|
||||
DPDK_DIR ?= $(CONFIG_DPDK_DIR)
|
||||
|
||||
ifeq ($(DPDK_DIR), )
|
||||
ifeq ($(OS),FreeBSD)
|
||||
export DPDK_ABS_DIR = /usr/local/share/dpdk/x86_64-native-freebsdapp-clang
|
||||
else
|
||||
export DPDK_ABS_DIR = /usr/local/share/dpdk/x86_64-native-linuxapp-gcc
|
||||
endif
|
||||
else
|
||||
export DPDK_ABS_DIR = $(abspath $(DPDK_DIR))
|
||||
endif
|
||||
|
||||
ifneq (, $(wildcard $(DPDK_ABS_DIR)/include/rte_config.h))
|
||||
DPDK_INC_DIR := $(DPDK_ABS_DIR)/include
|
||||
|
Loading…
x
Reference in New Issue
Block a user