New upstream version 18.08
[deb_dpdk.git] / drivers / raw / ifpga_rawdev / base / Makefile
1 #SPDX-License-Identifier: BSD-3-Clause
2 #Copyright(c) 2010-2018 Intel Corporation
3
4 ifneq ($(CONFIG_RTE_LIBRTE_EAL),)
5 OSDEP := osdep_rte
6 else
7 OSDEP := osdep_raw
8 endif
9
10 CFLAGS += -I$(RTE_SDK)/drivers/raw/ifpga_rawdev/base/$(OSDEP)
11
12 SRCS-y += ifpga_api.c
13 SRCS-y += ifpga_enumerate.c
14 SRCS-y += ifpga_feature_dev.c
15 SRCS-y += ifpga_fme.c
16 SRCS-y += ifpga_fme_iperf.c
17 SRCS-y += ifpga_fme_dperf.c
18 SRCS-y += ifpga_fme_error.c
19 SRCS-y += ifpga_port.c
20 SRCS-y += ifpga_port_error.c
21 SRCS-y += opae_hw_api.c
22 SRCS-y += opae_ifpga_hw_api.c
23 SRCS-y += opae_debug.c
24 SRCS-y += ifpga_fme_pr.c
25
26 SRCS-y += $(wildcard $(SRCDIR)/base/$(OSDEP)/*.c)