forked from Minki/linux
02a7fa00a6
This generates a massive reduction in module size: with debug: text data bss dec hex filename 670300 13136 420 683856 a6f50 iwlagn.ko (before) 388347 13136 408 401891 621e3 iwlagn.ko (after) without debug: text data bss dec hex filename 528575 13072 420 542067 84573 iwlagn.ko (before) 294192 13072 408 307672 4b1d8 iwlagn.ko (after) This also removes all the IO debug functionality since it can easily be replaced by tracing, and makes the code unnecessarily complex. I haven't done any CPU utilisation measurements, but given that the hotpaths don't use much IO it is not likely to have a negative impact; in fact, the size reduction will reduce cache pressure which possibly improves performance. Finally, an unused function or two were removed. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
24 lines
854 B
Makefile
24 lines
854 B
Makefile
# AGN
|
|
obj-$(CONFIG_IWLAGN) += iwlagn.o
|
|
iwlagn-objs := iwl-agn.o iwl-agn-rs.o iwl-agn-led.o
|
|
iwlagn-objs += iwl-agn-ucode.o iwl-agn-tx.o
|
|
iwlagn-objs += iwl-agn-lib.o iwl-agn-calib.o iwl-io.o
|
|
iwlagn-objs += iwl-agn-tt.o iwl-agn-sta.o iwl-agn-eeprom.o
|
|
|
|
iwlagn-objs += iwl-core.o iwl-eeprom.o iwl-hcmd.o iwl-power.o
|
|
iwlagn-objs += iwl-rx.o iwl-tx.o iwl-sta.o
|
|
iwlagn-objs += iwl-scan.o iwl-led.o
|
|
iwlagn-objs += iwl-agn-rxon.o iwl-agn-hcmd.o iwl-agn-ict.o
|
|
iwlagn-objs += iwl-5000.o
|
|
iwlagn-objs += iwl-6000.o
|
|
iwlagn-objs += iwl-1000.o
|
|
iwlagn-objs += iwl-2000.o
|
|
|
|
iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-agn-debugfs.o
|
|
iwlagn-$(CONFIG_IWLWIFI_DEBUGFS) += iwl-debugfs.o
|
|
iwlagn-$(CONFIG_IWLWIFI_DEVICE_TRACING) += iwl-devtrace.o
|
|
|
|
CFLAGS_iwl-devtrace.o := -I$(src)
|
|
|
|
ccflags-y += -D__CHECK_ENDIAN__
|