mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
iwlwifi: module correct -DCONFIG_*
Remove the =1 from -DCONFIG_* in the conditional cases. They are not needed. Sponsored by: The FreeBSD Foundation MFC after: 3 days
This commit is contained in:
parent
7a5b55e3b4
commit
411c857b4c
1 changed files with 4 additions and 4 deletions
|
|
@ -31,13 +31,13 @@ SRCS+= pcie/tx-gen2.c pcie/tx.c
|
|||
|
||||
.if defined(WITH_DEBUGFS) && ${WITH_DEBUGFS} > 0
|
||||
SRCS+= fw/debugfs.c mvm/debugfs.c mvm/debugfs-vif.c
|
||||
CFLAGS+= -DCONFIG_IWLWIFI_DEBUGFS=${WITH_DEBUGFS}
|
||||
CFLAGS+= -DCONFIG_MAC80211_DEBUGFS=${WITH_DEBUGFS}
|
||||
CFLAGS+= -DCONFIG_IWLWIFI_DEBUGFS
|
||||
CFLAGS+= -DCONFIG_MAC80211_DEBUGFS
|
||||
.endif
|
||||
.if defined(WITH_CONFIG_PM) && ${WITH_CONFIG_PM} > 0
|
||||
SRCS+= mvm/d3.c
|
||||
CFLAGS+= -DCONFIG_PM=${WITH_CONFIG_PM}
|
||||
CFLAGS+= -DCONFIG_PM_SLEEP=${WITH_CONFIG_PM}
|
||||
CFLAGS+= -DCONFIG_PM
|
||||
CFLAGS+= -DCONFIG_PM_SLEEP
|
||||
.endif
|
||||
|
||||
SRCS+= iwl-devtrace.c
|
||||
|
|
|
|||
Loading…
Reference in a new issue