net/mlx5e: IPoIB, Move to a separate directory
[platform/kernel/linux-rpi.git] / drivers / net / ethernet / mellanox / mlx5 / core / Makefile
1 obj-$(CONFIG_MLX5_CORE)         += mlx5_core.o
2 subdir-ccflags-y += -I$(src)
3
4 mlx5_core-y :=  main.o cmd.o debugfs.o fw.o eq.o uar.o pagealloc.o \
5                 health.o mcg.o cq.o srq.o alloc.o qp.o port.o mr.o pd.o \
6                 mad.o transobj.o vport.o sriov.o fs_cmd.o fs_core.o \
7                 fs_counters.o rl.o lag.o dev.o
8
9 mlx5_core-$(CONFIG_MLX5_FPGA) += fpga/cmd.o fpga/core.o
10
11 mlx5_core-$(CONFIG_MLX5_CORE_EN) += wq.o eswitch.o eswitch_offloads.o \
12                 en_main.o en_common.o en_fs.o en_ethtool.o en_tx.o \
13                 en_rx.o en_rx_am.o en_txrx.o en_clock.o vxlan.o \
14                 en_tc.o en_arfs.o en_rep.o en_fs_ethtool.o en_selftest.o
15
16 mlx5_core-$(CONFIG_MLX5_CORE_EN_DCB) +=  en_dcbnl.o
17
18 mlx5_core-$(CONFIG_MLX5_CORE_IPOIB) += ipoib/ipoib.o