mirror of
https://github.com/torvalds/linux.git
synced 2026-11-30 02:23:05 +00:00
If there's no LED on the system, it doesn't make a lot of sense to include close to 4k of LED-related code (mostly in mac80211), so instead of forcing LED support into the kernel, don't build iwlwifi/mac80211 LED support if there's no LED class support. Signed-off-by: Johannes Berg <[email protected]> Reviewed-by: EliadX Peller <[email protected]> Signed-off-by: Emmanuel Grumbach <[email protected]>
14 lines
350 B
Makefile
14 lines
350 B
Makefile
# DVM
|
|
obj-$(CONFIG_IWLDVM) += iwldvm.o
|
|
iwldvm-objs += main.o rs.o mac80211.o ucode.o tx.o
|
|
iwldvm-objs += lib.o calib.o tt.o sta.o rx.o
|
|
|
|
iwldvm-objs += power.o
|
|
iwldvm-objs += scan.o
|
|
iwldvm-objs += rxon.o devices.o
|
|
|
|
iwldvm-$(CONFIG_IWLWIFI_LEDS) += led.o
|
|
iwldvm-$(CONFIG_IWLWIFI_DEBUGFS) += debugfs.o
|
|
|
|
ccflags-y += -D__CHECK_ENDIAN__ -I$(src)/../
|