Sam Ravnborg wrote:
On Fri, Jul 07, 2006 at 03:24:42PM -0500, Bob Tracy wrote:
$YACC now seems to be undefined when I do a "make bzImage" and the
build process gets to drivers/scsi/aic7xxx/aicasm (with the aic7xxx
driver configured as a built-in). As a workaround, it's possible to
"cd" into the indicated directory and run "make" directly. Once the
default build completes, restarting "make bzImage" from the kernel
source root continues as expected.
Found it. The main "Makefile" has "MAKEFLAGS += -rR" uncommented as
of 2.6.18-rc1. The deleted comment about "possibly random breakage"
that used to be just above that line pretty much says it all :-).
I have now applied a patch where YACC= bison is dined in
There are no other $(YACC) users in the kernel - the others specify bison
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 [email protected]
cmd_yacc = $(YACC) -d -o [email protected] $<
$(obj)/%.c %(obj)/%.h: $(src)/%.y
Note that bison seems to make smaller code than yacc, so I definiteily
think we should default to bison over yacc.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Video 4 Linux]
[Linux for the blind]