projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
615f083
)
kconfig: Simplify LSMOD= handling
author
Michal Marek
<mmarek@suse.cz>
Wed, 3 Feb 2010 16:20:14 +0000
(17:20 +0100)
committer
Steven Rostedt
<rostedt@goodmis.org>
Wed, 3 Feb 2010 16:45:25 +0000
(11:45 -0500)
Signed-off-by: Michal Marek <mmarek@suse.cz>
LKML-Reference: <
20100203162014
.GA10956@sepie.suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
scripts/kconfig/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/scripts/kconfig/Makefile
b/scripts/kconfig/Makefile
index 85b9065478451b7cc15ca2292f6013a5be01eeb0..186c46604d0669f8f1d4cfbcaf7ad0cdc6d658fa 100644
(file)
--- a/
scripts/kconfig/Makefile
+++ b/
scripts/kconfig/Makefile
@@
-32,11
+32,10
@@
silentoldconfig: $(obj)/conf
# if no path is given, then use src directory to find file
ifdef LSMOD
-LSMOD_F = $(shell if [ `basename $(LSMOD)` == $(LSMOD) ]; then \
- echo $(objtree)/$(LSMOD); \
- else \
- echo $(LSMOD); \
- fi)
+LSMOD_F := $(LSMOD)
+ifeq ($(findstring /,$(LSMOD)),)
+ LSMOD_F := $(objtree)/$(LSMOD)
+endif
endif
localmodconfig: $(obj)/streamline_config.pl $(obj)/conf