aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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