aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/package/switch/src/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-12-25 21:57:14 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-12-25 21:57:14 +0000
commita846d900c81363ae637aadf6e876bbdb23365840 (patch)
tree686774bec893e7347c78f8c3aa837c0ac5f2ae2e /target/linux/package/switch/src/Makefile
parentf351d6cd520ea8f37c1bc65c3a83405b68fe30f7 (diff)
downloadupstream-a846d900c81363ae637aadf6e876bbdb23365840.tar.gz
upstream-a846d900c81363ae637aadf6e876bbdb23365840.tar.bz2
upstream-a846d900c81363ae637aadf6e876bbdb23365840.zip
fix kernel version detection in switch driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2782 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package/switch/src/Makefile')
-rw-r--r--target/linux/package/switch/src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/package/switch/src/Makefile b/target/linux/package/switch/src/Makefile
index e4b2b7f38bd..4c5f911ea28 100644
--- a/target/linux/package/switch/src/Makefile
+++ b/target/linux/package/switch/src/Makefile
@@ -11,8 +11,9 @@
#
obj-m := switch-core.o switch-adm.o switch-robo.o
-export-objs := switch-core.o
ifeq ($(MAKING_MODULES),1)
+export-objs := switch-core.o
+
-include $(TOPDIR)/Rules.make
endif