summaryrefslogtreecommitdiffstats
path: root/arch/um/os-Linux/drivers/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/os-Linux/drivers/Makefile')
-rw-r--r--arch/um/os-Linux/drivers/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/um/os-Linux/drivers/Makefile b/arch/um/os-Linux/drivers/Makefile
new file mode 100644
index 0000000000..cf2d75bb18
--- /dev/null
+++ b/arch/um/os-Linux/drivers/Makefile
@@ -0,0 +1,13 @@
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (C) 2000, 2002 Jeff Dike (jdike@karaya.com)
+#
+
+ethertap-objs := ethertap_kern.o ethertap_user.o
+tuntap-objs := tuntap_kern.o tuntap_user.o
+
+obj-y =
+obj-$(CONFIG_UML_NET_ETHERTAP) += ethertap.o
+obj-$(CONFIG_UML_NET_TUNTAP) += tuntap.o
+
+include $(srctree)/arch/um/scripts/Makefile.rules