Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -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