summaryrefslogtreecommitdiffstats
path: root/net/netlink/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/netlink/Makefile')
-rw-r--r--net/netlink/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/netlink/Makefile b/net/netlink/Makefile
new file mode 100644
index 0000000000..e05202708c
--- /dev/null
+++ b/net/netlink/Makefile
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0-only
+#
+# Makefile for the netlink driver.
+#
+
+obj-y := af_netlink.o genetlink.o policy.o
+
+obj-$(CONFIG_NETLINK_DIAG) += netlink_diag.o
+netlink_diag-y := diag.o