Commit 3cebbb81 authored by Michal Marek's avatar Michal Marek Committed by Steven Rostedt

kconfig: Simplify LSMOD= handling

Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
LKML-Reference: <20100203162014.GA10956@sepie.suse.cz>
Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
parent 615f0833
...@@ -32,11 +32,10 @@ silentoldconfig: $(obj)/conf ...@@ -32,11 +32,10 @@ silentoldconfig: $(obj)/conf
# if no path is given, then use src directory to find file # if no path is given, then use src directory to find file
ifdef LSMOD ifdef LSMOD
LSMOD_F = $(shell if [ `basename $(LSMOD)` == $(LSMOD) ]; then \ LSMOD_F := $(LSMOD)
echo $(objtree)/$(LSMOD); \ ifeq ($(findstring /,$(LSMOD)),)
else \ LSMOD_F := $(objtree)/$(LSMOD)
echo $(LSMOD); \ endif
fi)
endif endif
localmodconfig: $(obj)/streamline_config.pl $(obj)/conf localmodconfig: $(obj)/streamline_config.pl $(obj)/conf
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment