The branch main has been updated by bz:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=411c857b4ccedd6491dff9a35e952bc49d053053

commit 411c857b4ccedd6491dff9a35e952bc49d053053
Author:     Bjoern A. Zeeb <b...@freebsd.org>
AuthorDate: 2025-01-25 12:47:09 +0000
Commit:     Bjoern A. Zeeb <b...@freebsd.org>
CommitDate: 2025-01-31 23:53:31 +0000

    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
---
 sys/modules/iwlwifi/Makefile | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sys/modules/iwlwifi/Makefile b/sys/modules/iwlwifi/Makefile
index c41a1a1757c1..6e0fea6efc3a 100644
--- a/sys/modules/iwlwifi/Makefile
+++ b/sys/modules/iwlwifi/Makefile
@@ -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

Reply via email to