build: swap pci with bus_pci libs on the list
bus_pci depends on pci so it shall be listed before, otherwise it can result in linking issue e.g. /usr/bin/ld: /home/jkalwas/spdk/dpdk/build/lib/librte_bus_pci.a(bus_pci_pci_common.c.o): in function `pci_parse': pci_common.c:(.text+0x6e): undefined reference to `rte_pci_addr_parse' Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com> Change-Id: Idff446df82c37844edc122d5171e8ffa684b296f Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6404 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
504031d850
commit
99b1257154
@ -48,7 +48,7 @@ DPDK_INC_DIR := $(DPDK_ABS_DIR)/include/dpdk
|
||||
endif
|
||||
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_bus_pci rte_pci rte_mempool_ring
|
||||
|
||||
ifeq ($(OS),Linux)
|
||||
DPDK_LIB_LIST += rte_power rte_ethdev rte_net
|
||||
|
Loading…
Reference in New Issue
Block a user