X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fraw%2Focteontx2_dma%2FMakefile;h=f101e4916e6e516c1d8fe74fe6378ca27321a6c5;hb=1cd8d4ce5d78064e7747e9de49932eebcea23802;hp=1892c1e27b30df914d7a4754b7fd1216be332058;hpb=185656e7c9c8e26d6b93903b35518ef7b6c0c17e;p=dpdk.git diff --git a/drivers/raw/octeontx2_dma/Makefile b/drivers/raw/octeontx2_dma/Makefile index 1892c1e27b..f101e4916e 100644 --- a/drivers/raw/octeontx2_dma/Makefile +++ b/drivers/raw/octeontx2_dma/Makefile @@ -5,15 +5,24 @@ include $(RTE_SDK)/mk/rte.vars.mk # library name -LIB = librte_pmd_octeontx2_dma.a +LIB = librte_rawdev_octeontx2_dma.a CFLAGS += -O3 $(WERROR_FLAGS) CFLAGS += -I$(RTE_SDK)/drivers/common/octeontx2/ +CFLAGS += -I$(RTE_SDK)/drivers/mempool/octeontx2/ CFLAGS += -I$(RTE_SDK)/drivers/raw/octeontx2_dma/ -LDLIBS += -lrte_eal -lrte_rawdev -lrte_bus_pci -LDLIBS += -lrte_common_octeontx2 +LDLIBS += -lrte_eal -lrte_rawdev -lrte_bus_pci -lrte_mbuf +LDLIBS += -lrte_common_octeontx2 -lrte_mempool -EXPORT_MAP := rte_pmd_octeontx2_dma_version.map +ifneq ($(CONFIG_RTE_ARCH_64),y) +CFLAGS += -Wno-int-to-pointer-cast +CFLAGS += -Wno-pointer-to-int-cast +ifeq ($(CONFIG_RTE_TOOLCHAIN_ICC),y) +CFLAGS += -diag-disable 2259 +endif +endif + +EXPORT_MAP := rte_rawdev_octeontx2_dma_version.map LIBABIVER := 1 @@ -21,5 +30,7 @@ LIBABIVER := 1 # all source are stored in SRCS-y # SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_DMA_RAWDEV) += otx2_dpi_rawdev.c +SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_DMA_RAWDEV) += otx2_dpi_msg.c +SRCS-$(CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_DMA_RAWDEV) += otx2_dpi_test.c include $(RTE_SDK)/mk/rte.lib.mk