X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=drivers%2Fbus%2Fpci%2FMakefile;h=45d12427a1c434c099b4ef03a2978373b45335ee;hb=a5d668e6376db327fda591067d929c314466bd8f;hp=88154b4de03c664fe7d06d187ebc15c0494e3983;hpb=742bde12f3bd008c2f06d744330436d8b1a56720;p=dpdk.git diff --git a/drivers/bus/pci/Makefile b/drivers/bus/pci/Makefile index 88154b4de0..45d12427a1 100644 --- a/drivers/bus/pci/Makefile +++ b/drivers/bus/pci/Makefile @@ -14,19 +14,18 @@ CFLAGS += -DALLOW_EXPERIMENTAL_API ifneq ($(CONFIG_RTE_EXEC_ENV_LINUX),) SYSTEM := linux endif -ifneq ($(CONFIG_RTE_EXEC_ENV_BSDAPP),) +ifneq ($(CONFIG_RTE_EXEC_ENV_FREEBSD),) SYSTEM := bsd endif CFLAGS += -I$(RTE_SDK)/drivers/bus/pci/$(SYSTEM) CFLAGS += -I$(RTE_SDK)/lib/librte_eal/common -CFLAGS += -I$(RTE_SDK)/lib/librte_eal/$(SYSTEM)app/eal # memseg walk is not part of stable API yet CFLAGS += -DALLOW_EXPERIMENTAL_API LDLIBS += -lrte_eal -lrte_mbuf -lrte_mempool -lrte_ring -LDLIBS += -lrte_ethdev -lrte_pci -lrte_kvargs +LDLIBS += -lrte_pci -lrte_kvargs include $(RTE_SDK)/drivers/bus/pci/$(SYSTEM)/Makefile SRCS-$(CONFIG_RTE_LIBRTE_PCI_BUS) := $(addprefix $(SYSTEM)/,$(SRCS))