summaryrefslogtreecommitdiffstats
path: root/package/acx-mac80211/patches/001-build_module.diff
blob: ee4a8d4c894194fdd649b509db45fcb1d246164a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ ifneq ($(KERNELRELEASE),)
 	obj-$(CONFIG_ACX_MAC80211) += acx-mac80211.o
 	acx-mac80211-obj-$(CONFIG_ACX_MAC80211_PCI) += pci.o
 	acx-mac80211-obj-$(CONFIG_ACX_MAC80211_USB) += usb.o
-	acx-mac80211-objs := common.o $(acx-mac80211-obj-y)
+	acx-mac80211-objs := common.o $(acx-mac80211-obj-m)
 else
 # Otherwise we were called directly from the command line: the the kernel build
 # system must be explicitly invoked.