mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 23:25:07 +00:00
c68115fc53
This is now the only driver that selects the LEDS_CLASS framework, which is normally user-selectable. While it doesn't strictly cause a bug, rework the Kconfig logic to be more consistent with what other drivers do, and only enable LED support in brcmsmac if the dependencies are all there, rather than using 'select' to enable what it needs. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20211204173848.873293-2-arnd@kernel.org
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
#
|
|
# Makefile fragment for Broadcom 802.11n Networking Device Driver
|
|
#
|
|
# Copyright (c) 2010 Broadcom Corporation
|
|
#
|
|
# Permission to use, copy, modify, and/or distribute this software for any
|
|
# purpose with or without fee is hereby granted, provided that the above
|
|
# copyright notice and this permission notice appear in all copies.
|
|
#
|
|
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
|
|
# SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
|
|
# OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
|
|
# CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
|
|
ccflags-y := \
|
|
-I $(srctree)/$(src) \
|
|
-I $(srctree)/$(src)/phy \
|
|
-I $(srctree)/$(src)/../include
|
|
|
|
brcmsmac-y := \
|
|
mac80211_if.o \
|
|
ucode_loader.o \
|
|
ampdu.o \
|
|
antsel.o \
|
|
channel.o \
|
|
main.o \
|
|
phy_shim.o \
|
|
pmu.o \
|
|
rate.o \
|
|
stf.o \
|
|
aiutils.o \
|
|
phy/phy_cmn.o \
|
|
phy/phy_lcn.o \
|
|
phy/phy_n.o \
|
|
phy/phytbl_lcn.o \
|
|
phy/phytbl_n.o \
|
|
phy/phy_qmath.o \
|
|
dma.o \
|
|
brcms_trace_events.o \
|
|
debug.o
|
|
|
|
brcmsmac-$(CONFIG_BRCMSMAC_LEDS) += led.o
|
|
|
|
obj-$(CONFIG_BRCMSMAC) += brcmsmac.o
|