aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Marek <mmarek@suse.cz>2010-02-03 11:20:14 -0500
committerSteven Rostedt <rostedt@goodmis.org>2010-02-03 11:45:25 -0500
commit3cebbb81c7e75321e25cc586d07a25a3d98278fc (patch)
treeb2cb83e5fd4cb1aea374ca606f8b512a457b2138
parent615f0833aa4c4aa944ceb78895bbffa8bd1884df (diff)
kconfig: Simplify LSMOD= handling
Signed-off-by: Michal Marek <mmarek@suse.cz> LKML-Reference: <20100203162014.GA10956@sepie.suse.cz> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
-rw-r--r--scripts/kconfig/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
index 85b906547845..186c46604d06 100644
--- a/scripts/kconfig/Makefile
+++ b/scripts/kconfig/Makefile
@@ -32,11 +32,10 @@ silentoldconfig: $(obj)/conf
32 32
33# if no path is given, then use src directory to find file 33# if no path is given, then use src directory to find file
34ifdef LSMOD 34ifdef LSMOD
35LSMOD_F = $(shell if [ `basename $(LSMOD)` == $(LSMOD) ]; then \ 35LSMOD_F := $(LSMOD)
36 echo $(objtree)/$(LSMOD); \ 36ifeq ($(findstring /,$(LSMOD)),)
37 else \ 37 LSMOD_F := $(objtree)/$(LSMOD)
38 echo $(LSMOD); \ 38endif
39 fi)
40endif 39endif
41 40
42localmodconfig: $(obj)/streamline_config.pl $(obj)/conf 41localmodconfig: $(obj)/streamline_config.pl $(obj)/conf