diff options
Diffstat (limited to 'drivers/net/wireless/iwlwifi/Makefile')
-rw-r--r-- | drivers/net/wireless/iwlwifi/Makefile | 40 |
1 files changed, 14 insertions, 26 deletions
diff --git a/drivers/net/wireless/iwlwifi/Makefile b/drivers/net/wireless/iwlwifi/Makefile index 93380f97835f..9d6ee836426c 100644 --- a/drivers/net/wireless/iwlwifi/Makefile +++ b/drivers/net/wireless/iwlwifi/Makefile | |||
@@ -1,35 +1,23 @@ | |||
1 | obj-$(CONFIG_IWLWIFI) += iwlcore.o | ||
2 | iwlcore-objs := iwl-core.o iwl-eeprom.o iwl-hcmd.o iwl-power.o | ||
3 | iwlcore-objs += iwl-rx.o iwl-tx.o iwl-sta.o | ||
4 | iwlcore-objs += iwl-scan.o iwl-led.o | ||
5 | iwlcore-$(CONFIG_IWL3945) += iwl-legacy.o | ||
6 | iwlcore-$(CONFIG_IWL4965) += iwl-legacy.o | ||
7 | iwlcore-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o | ||
8 | iwlcore-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o | ||
9 | |||
10 | # If 3945 is selected only, iwl-legacy.o will be added | ||
11 | # to iwlcore-m above, but it needs to be built in. | ||
12 | iwlcore-objs += $(iwlcore-m) | ||
13 | |||
14 | CFLAGS_iwl-devtrace.o := -I$(src) | ||
15 | |||
16 | # AGN | 1 | # AGN |
17 | obj-$(CONFIG_IWLAGN) += iwlagn.o | 2 | obj-$(CONFIG_IWLAGN) += iwlagn.o |
18 | iwlagn-objs := iwl-agn.o iwl-agn-rs.o iwl-agn-led.o | 3 | iwlagn-objs := iwl-agn.o iwl-agn-rs.o iwl-agn-led.o |
19 | iwlagn-objs += iwl-agn-ucode.o iwl-agn-tx.o | 4 | iwlagn-objs += iwl-agn-ucode.o iwl-agn-tx.o |
20 | iwlagn-objs += iwl-agn-lib.o iwl-agn-rx.o iwl-agn-calib.o | 5 | iwlagn-objs += iwl-agn-lib.o iwl-agn-calib.o |
21 | iwlagn-objs += iwl-agn-tt.o iwl-agn-sta.o iwl-agn-eeprom.o | 6 | iwlagn-objs += iwl-agn-tt.o iwl-agn-sta.o iwl-agn-eeprom.o |
22 | iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-agn-debugfs.o | ||
23 | 7 | ||
24 | iwlagn-$(CONFIG_IWL4965) += iwl-4965.o | 8 | iwlagn-objs += iwl-core.o iwl-eeprom.o iwl-hcmd.o iwl-power.o |
25 | iwlagn-$(CONFIG_IWL5000) += iwl-agn-rxon.o iwl-agn-hcmd.o iwl-agn-ict.o | 9 | iwlagn-objs += iwl-rx.o iwl-tx.o iwl-sta.o |
26 | iwlagn-$(CONFIG_IWL5000) += iwl-5000.o | 10 | iwlagn-objs += iwl-scan.o iwl-led.o |
27 | iwlagn-$(CONFIG_IWL5000) += iwl-6000.o | 11 | iwlagn-objs += iwl-agn-rxon.o iwl-agn-hcmd.o iwl-agn-ict.o |
28 | iwlagn-$(CONFIG_IWL5000) += iwl-1000.o | 12 | iwlagn-objs += iwl-5000.o |
13 | iwlagn-objs += iwl-6000.o | ||
14 | iwlagn-objs += iwl-1000.o | ||
15 | iwlagn-objs += iwl-2000.o | ||
16 | |||
17 | iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-agn-debugfs.o | ||
18 | iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o | ||
19 | iwlagn-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o | ||
29 | 20 | ||
30 | # 3945 | 21 | CFLAGS_iwl-devtrace.o := -I$(src) |
31 | obj-$(CONFIG_IWL3945) += iwl3945.o | ||
32 | iwl3945-objs := iwl3945-base.o iwl-3945.o iwl-3945-rs.o iwl-3945-led.o | ||
33 | iwl3945-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-3945-debugfs.o | ||
34 | 22 | ||
35 | ccflags-y += -D__CHECK_ENDIAN__ | 23 | ccflags-y += -D__CHECK_ENDIAN__ |