summaryrefslogtreecommitdiff
path: root/openwrt/package/switch/src/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-05-31 16:01:46 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-05-31 16:01:46 +0000
commit337621e4682ad459b28f23c2cacebc29a88fbde1 (patch)
treed68bde34fb72b60dfebbac350ca4de6f60de1589 /openwrt/package/switch/src/Makefile
parent7486d2e8d5b442143ce94c0524e86a67b5c338b9 (diff)
downloadmtk-20170518-337621e4682ad459b28f23c2cacebc29a88fbde1.zip
mtk-20170518-337621e4682ad459b28f23c2cacebc29a88fbde1.tar.gz
mtk-20170518-337621e4682ad459b28f23c2cacebc29a88fbde1.tar.bz2
move target/linux/package/switch to package/, fix a bug in the ipkg dependency handling
SVN-Revision: 3864
Diffstat (limited to 'openwrt/package/switch/src/Makefile')
-rw-r--r--openwrt/package/switch/src/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/openwrt/package/switch/src/Makefile b/openwrt/package/switch/src/Makefile
new file mode 100644
index 0000000..4c5f911
--- /dev/null
+++ b/openwrt/package/switch/src/Makefile
@@ -0,0 +1,19 @@
+# $Id$
+#
+# 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