summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Peiffer <pierre.peiffer@stericsson.com>2011-09-29 16:04:42 +0200
committerJonas ABERG <jonas.aberg@stericsson.com>2011-09-30 13:42:16 +0200
commitb1ad83363f3a6c4d9334e1fcaac5397aa386456c (patch)
tree9f01963554fec2743f8d1bb27882ae6884969d4c
parent2085032689d3f7cbcc14c8dc2fc1885869a4ae04 (diff)
U8500 CM: fix 'make mrproper' issueu8500-android-2.3_v4.6
Fix NMF-CM Makefile to allow a proper run of 'make mrproper' in all cases. ST-Ericsson ID: - ST-Ericsson FOSS-OUT ID: Trivial ST-Ericsson Linux next: - Signed-off-by: Pierre Peiffer <pierre.peiffer@stericsson.com> Change-Id: I3e03b6ba02b5f8f333b1d494e8ce6076f3da56ff Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/32554 Reviewed-by: Pierre PEIFFER <pierre.peiffer@stericsson.com> Tested-by: Pierre PEIFFER <pierre.peiffer@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-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