summaryrefslogtreecommitdiff
path: root/package/kernel/switch/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/kernel/switch/src/Makefile')
-rw-r--r--package/kernel/switch/src/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/package/kernel/switch/src/Makefile b/package/kernel/switch/src/Makefile
new file mode 100644
index 0000000000..b6934cc66b
--- /dev/null
+++ b/package/kernel/switch/src/Makefile
@@ -0,0 +1,18 @@
+#
+# Makefile for switch driver
+#
+# Copyright (C) 2005 Felix Fietkau <nbd@openwrt.org>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version
+# 2 of the License, or (at your option) any later version.
+#
+
+obj-m := switch-core.o switch-adm.o switch-robo.o
+
+ifeq ($(MAKING_MODULES),1)
+export-objs := switch-core.o
+
+-include $(TOPDIR)/Rules.make
+endif