lkml.org 
[lkml]   [2010]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 5/5] kconfig: Simplify LSMOD= handling
    From: Michal Marek <mmarek@suse.cz>

    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 | 9 ++++-----
    1 files changed, 4 insertions(+), 5 deletions(-)

    diff --git a/scripts/kconfig/Makefile b/scripts/kconfig/Makefile
    index 85b9065..186c466 100644
    --- 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
    --
    1.6.5



    \
     
     \ /
      Last update: 2010-02-25 20:23    [W:0.020 / U:64.252 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site