summaryrefslogtreecommitdiffstats
path: root/kernel/drivers/net/wireless/iwlegacy/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/drivers/net/wireless/iwlegacy/Makefile')
-rw-r--r--kernel/drivers/net/wireless/iwlegacy/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/kernel/drivers/net/wireless/iwlegacy/Makefile b/kernel/drivers/net/wireless/iwlegacy/Makefile
new file mode 100644
index 000000000..c985a01a0
--- /dev/null
+++ b/kernel/drivers/net/wireless/iwlegacy/Makefile
@@ -0,0 +1,17 @@
+obj-$(CONFIG_IWLEGACY) += iwlegacy.o
+iwlegacy-objs := common.o
+iwlegacy-$(CONFIG_IWLEGACY_DEBUGFS) += debug.o
+
+iwlegacy-objs += $(iwlegacy-m)
+
+# 4965
+obj-$(CONFIG_IWL4965) += iwl4965.o
+iwl4965-objs := 4965.o 4965-mac.o 4965-rs.o 4965-calib.o
+iwl4965-$(CONFIG_IWLEGACY_DEBUGFS) += 4965-debug.o
+
+# 3945
+obj-$(CONFIG_IWL3945) += iwl3945.o
+iwl3945-objs := 3945-mac.o 3945.o 3945-rs.o
+iwl3945-$(CONFIG_IWLEGACY_DEBUGFS) += 3945-debug.o
+
+ccflags-y += -D__CHECK_ENDIAN__