From 488e6418a596220a5666f181fc7f16b1b9e53ddc Mon Sep 17 00:00:00 2001 From: Daniel Verkamp Date: Thu, 22 Feb 2018 17:00:34 -0700 Subject: [PATCH] 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 Reviewed-on: https://review.gerrithub.io/401075 Reviewed-by: Jim Harris Tested-by: SPDK Automated Test System Reviewed-by: Changpeng Liu --- lib/env_dpdk/env.mk | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/env_dpdk/env.mk b/lib/env_dpdk/env.mk index 6a1f87c6e1..450043c4f8 100644 --- a/lib/env_dpdk/env.mk +++ b/lib/env_dpdk/env.mk @@ -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