summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/nmf-cm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/nmf-cm/Makefile b/drivers/staging/nmf-cm/Makefile
index 7745132f35e..b1a5b9afe1f 100644
--- a/drivers/staging/nmf-cm/Makefile
+++ b/drivers/staging/nmf-cm/Makefile
@@ -7,7 +7,7 @@
#
# Rules to build kernel modules
#
-ifdef KERNELRELEASE
+ifneq ($(findstring KERNELRELEASE,$(.VARIABLES)),)
# $(src): current relative dir; $(kbuild-dir): cur absolute dir
ifdef kbuild-dir