diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2008-04-15 00:16:12 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-04-16 15:59:59 -0400 |
commit | eadd3c4b9a90e31d5b6034a8813bfabecbe48681 (patch) | |
tree | 08266460ff3743742f783af7504d06ffc97cbe81 /drivers/net/wireless/iwlwifi/Makefile | |
parent | 51dbfd1d59b0f55aef2105e06f770f3a97fc4e3a (diff) |
iwlwifi: make Makefile more concise
Also change CONFIG_IWLCORE_RFKILL to CONFIG_IWLWIFI_RFKILL to
be more consistent with other config variables.
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Acked-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/Makefile')
-rw-r--r-- | drivers/net/wireless/iwlwifi/Makefile | 29 |
1 files changed, 8 insertions, 21 deletions
diff --git a/drivers/net/wireless/iwlwifi/Makefile b/drivers/net/wireless/iwlwifi/Makefile index 741ea346a295..4f3e88b12e3a 100644 --- a/drivers/net/wireless/iwlwifi/Makefile +++ b/drivers/net/wireless/iwlwifi/Makefile | |||
@@ -1,26 +1,13 @@ | |||
1 | obj-$(CONFIG_IWLCORE) += iwlcore.o | 1 | obj-$(CONFIG_IWLCORE) := iwlcore.o |
2 | iwlcore-objs = iwl-core.o iwl-eeprom.o iwl-hcmd.o | 2 | iwlcore-objs := iwl-core.o iwl-eeprom.o iwl-hcmd.o |
3 | 3 | iwlcore-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o | |
4 | ifeq ($(CONFIG_IWLWIFI_DEBUGFS),y) | 4 | iwlcore-$(CONFIG_IWLWIFI_LEDS) += iwl-led.o |
5 | iwlcore-objs += iwl-debugfs.o | 5 | iwlcore-$(CONFIG_IWLWIFI_RFKILL) += iwl-rfkill.o |
6 | endif | ||
7 | |||
8 | ifeq ($(CONFIG_IWLWIFI_LEDS),y) | ||
9 | iwlcore-objs += iwl-led.o | ||
10 | endif | ||
11 | |||
12 | ifeq ($(CONFIG_IWLCORE_RFKILL),y) | ||
13 | iwlcore-objs += iwl-rfkill.o | ||
14 | endif | ||
15 | 6 | ||
16 | obj-$(CONFIG_IWL3945) += iwl3945.o | 7 | obj-$(CONFIG_IWL3945) += iwl3945.o |
17 | iwl3945-objs = iwl3945-base.o iwl-3945.o iwl-3945-rs.o | 8 | iwl3945-objs := iwl3945-base.o iwl-3945.o iwl-3945-rs.o |
18 | 9 | iwl3945-$(CONFIG_IWL3945_LEDS) += iwl-3945-led.o | |
19 | ifeq ($(CONFIG_IWL3945_LEDS),y) | ||
20 | iwl3945-objs += iwl-3945-led.o | ||
21 | endif | ||
22 | |||
23 | 10 | ||
24 | obj-$(CONFIG_IWL4965) += iwl4965.o | 11 | obj-$(CONFIG_IWL4965) += iwl4965.o |
25 | iwl4965-objs = iwl4965-base.o iwl-4965.o iwl-4965-rs.o iwl-sta.o | 12 | iwl4965-objs := iwl4965-base.o iwl-4965.o iwl-4965-rs.o iwl-sta.o |
26 | 13 | ||