env_dpdk: add rte_ethdev dependency
As of DPDK main commit 682a6454 ("power: add ethdev power management"), rte_power depends on rte_ethdev. So add rte_ethdev library, but only on Linux since that is the only place where we use rte_power. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ibc3473d6ec75c14a8c0c5517616950017cb2ea96 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6210 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: <dongx.yi@intel.com>
This commit is contained in:
parent
4dd1548be3
commit
710838103b
@ -51,7 +51,7 @@ DPDK_INC := -I$(DPDK_INC_DIR)
|
|||||||
DPDK_LIB_LIST = rte_eal rte_mempool rte_ring rte_mbuf rte_pci rte_bus_pci rte_mempool_ring
|
DPDK_LIB_LIST = rte_eal rte_mempool rte_ring rte_mbuf rte_pci rte_bus_pci rte_mempool_ring
|
||||||
|
|
||||||
ifeq ($(OS),Linux)
|
ifeq ($(OS),Linux)
|
||||||
DPDK_LIB_LIST += rte_power
|
DPDK_LIB_LIST += rte_power rte_ethdev
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# DPDK 20.05 eal dependency
|
# DPDK 20.05 eal dependency
|
||||||
|
Loading…
Reference in New Issue
Block a user