Skip to content

Commit

Permalink
kconfig: Simplify LSMOD= handling
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Marek <mmarek@suse.cz>
LKML-Reference: <20100203162014.GA10956@sepie.suse.cz>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
  • Loading branch information
Michal Marek authored and Steven Rostedt committed Feb 3, 2010
1 parent 615f083 commit 3cebbb8
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions scripts/kconfig/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3cebbb8

Please sign in to comment.