lkml.org 
[lkml]   [2006]   [Jul]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.6.18-rc1 build error (YACC): followup
Date
From
H. Peter Anvin wrote:
> Sam Ravnborg wrote:
> > On Fri, Jul 07, 2006 at 04:54:34PM -0700, H. Peter Anvin wrote:
> >> I propose the following as a global yacc rule; already used in usr/dash
> >> in the klibc tree, and which seems to work for both bison and BSD yacc:
> >>
> >> quiet_cmd_yacc = YACC $@
> >> cmd_yacc = $(YACC) -d -o $@ $<
> >>
> >> $(obj)/%.c %(obj)/%.h: $(src)/%.y
> >> $(call cmd,yacc)
> > klibc and the kernel does not share any rules today.
> > And yacc is so special that it's not worth it only for yacc to start
> > doing this.
> >
> > In todays kernel build yacc is never used. For the few cases were output
> > of yacc is needed the kernel include _shipped files. For dash we should
> > maybe consider the same?
> >
>
> Personally I consider that pretty silly. yacc/bison is a standard,
> portable utility, and it isn't even architecture-dependent so there is
> no porting effort.

While the correct fix is being contemplated, LEX also needs defining in
the same aic7xxx/aicasm Makefile context.

--
-----------------------------------------------------------------------
Bob Tracy WTO + WIPO = DMCA? http://www.anti-dmca.org
rct@frus.com
-----------------------------------------------------------------------
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-10 14:49    [W:0.638 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site