summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/ethernet/mellanox/mlx4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/ethernet/mellanox/mlx4/Makefile')
-rw-r--r--kernel/drivers/net/ethernet/mellanox/mlx4/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/kernel/drivers/net/ethernet/mellanox/mlx4/Makefile b/kernel/drivers/net/ethernet/mellanox/mlx4/Makefile
new file mode 100644
index 000000000..c82217e0d
--- /dev/null
+++ b/kernel/drivers/net/ethernet/mellanox/mlx4/Makefile
@@ -0,0 +1,11 @@
+obj-$(CONFIG_MLX4_CORE) += mlx4_core.o
+
+mlx4_core-y := alloc.o catas.o cmd.o cq.o eq.o fw.o fw_qos.o icm.o intf.o \
+ main.o mcg.o mr.o pd.o port.o profile.o qp.o reset.o sense.o \
+ srq.o resource_tracker.o
+
+obj-$(CONFIG_MLX4_EN) += mlx4_en.o
+
+mlx4_en-y := en_main.o en_tx.o en_rx.o en_ethtool.o en_port.o en_cq.o \
+ en_resources.o en_netdev.o en_selftest.o en_clock.o
+mlx4_en-$(CONFIG_MLX4_EN_DCB) += en_dcb_nl.o