git: 787787fa8938 - stable/14 - iwlwifi: module correct -DCONFIG_*

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Mon, 10 Feb 2025 14:52:56 UTC
The branch stable/14 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=787787fa89381015693acb5ae2a34a7c6e892261

commit 787787fa89381015693acb5ae2a34a7c6e892261
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-01-25 12:47:09 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-02-10 14:52:11 +0000

    iwlwifi: module correct -DCONFIG_*
    
    Remove the =1 from -DCONFIG_* in the conditional cases.
    They are not needed.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 411c857b4ccedd6491dff9a35e952bc49d053053)
---
 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 3508f29979a8..fd11e670b540 100644
--- a/sys/modules/iwlwifi/Makefile
+++ b/sys/modules/iwlwifi/Makefile
@@ -32,13 +32,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