summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 11cbf8e..4aa2b8d 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,9 @@ mwlwifi-objs += tx.o
mwlwifi-objs += rx.o
mwlwifi-objs += isr.o
mwlwifi-$(CONFIG_THERMAL) += thermal.o
+ifeq (m, $(CONFIG_THERMAL))
+mwlwifi-objs += thermal.o
+endif
mwlwifi-$(CONFIG_DEBUG_FS) += debugfs.o
ifeq (1, $(BUILD_MFG))
mwlwifi-objs += mfg.o