summaryrefslogtreecommitdiff
path: root/drivers/vdpa/mlx5/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/vdpa/mlx5/Makefile')
-rw-r--r--drivers/vdpa/mlx5/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/vdpa/mlx5/Makefile b/drivers/vdpa/mlx5/Makefile
new file mode 100644
index 000000000000..89a5bededc9f
--- /dev/null
+++ b/drivers/vdpa/mlx5/Makefile
@@ -0,0 +1,4 @@
+subdir-ccflags-y += -I$(srctree)/drivers/vdpa/mlx5/core
+
+obj-$(CONFIG_MLX5_VDPA_NET) += mlx5_vdpa.o
+mlx5_vdpa-$(CONFIG_MLX5_VDPA_NET) += net/main.o net/mlx5_vnet.o core/resources.o core/mr.o