mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-25 13:14:07 +08:00
kconfig: Simplify LSMOD= handling
Signed-off-by: Michal Marek <mmarek@suse.cz> LKML-Reference: <20100203162014.GA10956@sepie.suse.cz> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
615f0833aa
commit
3cebbb81c7
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user