Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933473AbeALLFS (ORCPT + 1 other); Fri, 12 Jan 2018 06:05:18 -0500 Received: from mail-vk0-f65.google.com ([209.85.213.65]:33332 "EHLO mail-vk0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932740AbeALLFQ (ORCPT ); Fri, 12 Jan 2018 06:05:16 -0500 X-Google-Smtp-Source: ACJfBovSm1Z2G4XkVPLox00V3TjI9TizcU5CKtNykz/GI/KfWRg/ZkOxn+VImFoOXMr7w/dwOZKXxGDEcgfQD4YV5M0= MIME-Version: 1.0 In-Reply-To: <1515718701-4552-2-git-send-email-yamada.masahiro@socionext.com> References: <1515718701-4552-1-git-send-email-yamada.masahiro@socionext.com> <1515718701-4552-2-git-send-email-yamada.masahiro@socionext.com> From: Ulf Magnusson Date: Fri, 12 Jan 2018 12:05:15 +0100 Message-ID: Subject: Re: [PATCH 2/2] kbuild: remove unnecessary LEX_PREFIX and YACC_PREFIX To: Masahiro Yamada Cc: Linux Kbuild mailing list , Michal Marek , Sam Ravnborg , "Luis R . Rodriguez" , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Fri, Jan 12, 2018 at 1:58 AM, Masahiro Yamada wrote: > Kconfig was the only user of these. With Kconfig converted to use > the default 'yy' prefix, we do not need them any more. > > Signed-off-by: Masahiro Yamada > --- > > scripts/Makefile.lib | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > > diff --git a/scripts/Makefile.lib b/scripts/Makefile.lib > index 0f9ef3f..5ff2761 100644 > --- a/scripts/Makefile.lib > +++ b/scripts/Makefile.lib > @@ -188,10 +188,8 @@ endef > > # LEX > # --------------------------------------------------------------------------- > -LEX_PREFIX = $(if $(LEX_PREFIX_${baseprereq}),$(LEX_PREFIX_${baseprereq}),yy) > - > quiet_cmd_flex = LEX $@ > - cmd_flex = $(LEX) -o$@ -L -P $(LEX_PREFIX) $< > + cmd_flex = $(LEX) -o$@ -L $< > > ifdef REGENERATE_PARSERS > .PRECIOUS: $(src)/%.lex.c_shipped > @@ -205,10 +203,8 @@ $(filter %.lex.c,$(targets)): $(obj)/%.lex.c: $(src)/%.l FORCE > > # YACC > # --------------------------------------------------------------------------- > -YACC_PREFIX = $(if $(YACC_PREFIX_${baseprereq}),$(YACC_PREFIX_${baseprereq}),yy) > - > quiet_cmd_bison = YACC $@ > - cmd_bison = $(YACC) -o$@ -t -l -p $(YACC_PREFIX) $< > + cmd_bison = $(YACC) -o$@ -t -l $< > > ifdef REGENERATE_PARSERS > .PRECIOUS: $(src)/%.tab.c_shipped > -- > 2.7.4 > Acked-by: Ulf Magnusson Cheers, Ulf