drivers/net: use sleep delay by default for Intel NICs
[dpdk.git] / drivers / common / mvep / Makefile
1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2018 Marvell International Ltd.
3 #
4
5 include $(RTE_SDK)/mk/rte.vars.mk
6
7 ifneq ($(MAKECMDGOALS),clean)
8 ifneq ($(MAKECMDGOALS),config)
9 ifeq ($(LIBMUSDK_PATH),)
10 $(error "Please define LIBMUSDK_PATH environment variable")
11 endif
12 endif
13 endif
14
15 # library name
16 LIB = librte_common_mvep.a
17
18 # library version
19 LIBABIVER := 1
20
21 # versioning export map
22 EXPORT_MAP := rte_common_mvep_version.map
23
24 # external library dependencies
25 CFLAGS += -I$($RTE_SDK)/drivers/common/mvep
26 CFLAGS += -I$(LIBMUSDK_PATH)/include
27 CFLAGS += -DMVCONF_TYPES_PUBLIC
28 CFLAGS += -DMVCONF_DMA_PHYS_ADDR_T_PUBLIC
29 CFLAGS += $(WERROR_FLAGS)
30 CFLAGS += -O3
31 LDLIBS += -L$(LIBMUSDK_PATH)/lib
32 LDLIBS += -lmusdk
33 LDLIBS += -lrte_eal -lrte_kvargs
34
35 # library source files
36 SRCS-y += mvep_common.c
37
38 include $(RTE_SDK)/mk/rte.lib.mk