Re: [PATCH] kbuild: hardcode value of YACC&LEX for aic7-triple-x

From: H. Peter Anvin
Date: Tue Aug 01 2006 - 17:58:07 EST

Alexey Dobriyan wrote:
On Sat, Jul 29, 2006 at 09:19:33AM +0200, sam@xxxxxxxxxxxx wrote:
When we introduced -rR then aic7xxx no loger could pick up definition
of YACC&LEX from make - so do it explicit now.

--- a/drivers/scsi/aic7xxx/aicasm/Makefile
+++ b/drivers/scsi/aic7xxx/aicasm/Makefile
@@ -14,6 +14,8 @@ LIBS= -ldb
clean-files:= ${GENSRCS} ${GENHDRS} $(YSRCS:.y=.output) $(PROG)
# Override default kernel CFLAGS. This is a userland app.
AICASM_CFLAGS:= -I/usr/include -I.
+LEX= flex
+YACC= bison
NOMAN= noman

SuSv3 lists "lex" and "yacc" as _the_ names. Is there any distro which
doesn't install compat symlinks?

At least on Red Hat/Fedora, "yacc" invokes BSD yacc, which produces worse code than bison.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at