lkml.org 
[lkml]   [2018]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 1/6] kbuild: remove remaining use of undefined YACC_PREFIX
    Date
    Commit eea199b445f6 ("kbuild: remove unnecessary LEX_PREFIX and
    YACC_PREFIX") removed YACC_PREFIX definition, but left one use of it. There
    was not any build error since there is no user of "cmd_bison_h" currently.
    Remove the last remaining occurrence of YACC_PREFIX.

    Fixes: eea199b445f6 ("kbuild: remove unnecessary LEX_PREFIX and YACC_PREFIX")
    Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
    Signed-off-by: Rob Herring <robh@kernel.org>
    ---
    scripts/Makefile.lib | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib
    index 5589bae34af6..1bc2f90cb8c0 100644
    --- a/scripts/Makefile.lib
    +++ b/scripts/Makefile.lib
    @@ -217,7 +217,7 @@ $(filter %.tab.c,$(targets)): $(obj)/%.tab.c: $(src)/%.y FORCE
    $(call if_changed,bison)

    quiet_cmd_bison_h = YACC $@
    - cmd_bison_h = bison -o/dev/null --defines=$@ -t -l -p $(YACC_PREFIX) $<
    + cmd_bison_h = bison -o/dev/null --defines=$@ -t -l $<

    ifdef REGENERATE_PARSERS
    .PRECIOUS: $(src)/%.tab.h_shipped
    --
    2.14.1
    \
     
     \ /
      Last update: 2018-03-01 00:36    [W:3.143 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site