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:
Bjoern A. Zeeb 2025-01-25 12:47:09 +00:00
parent 7a5b55e3b4
commit 411c857b4c

View file

@ -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