2010-11-18 23:44:37 +00:00
|
|
|
SUMMARY = "Berkeley LALR Yacc parser generator"
|
|
|
|
DESCRIPTION = "A parser generator utility that reads a grammar specification from a file and generates an LR(1) \
|
|
|
|
parser for it. The parsers consist of a set of LALR(1) parsing tables and a driver routine written in the C \
|
|
|
|
programming language."
|
2010-08-10 22:27:58 +00:00
|
|
|
SECTION = "devel"
|
2011-05-25 21:05:02 +00:00
|
|
|
LICENSE = "PD"
|
2010-08-10 22:27:58 +00:00
|
|
|
|
2015-08-26 20:32:45 +00:00
|
|
|
SRC_URI = "ftp://invisible-island.net/byacc/byacc-${PV}.tgz \
|
2016-12-26 03:35:23 +00:00
|
|
|
file://byacc-open.patch \
|
|
|
|
file://0001-byacc-do-not-reorder-CC-and-CFLAGS.patch"
|
2015-08-26 20:32:45 +00:00
|
|
|
|
2010-08-10 22:27:58 +00:00
|
|
|
EXTRA_OECONF += "--program-transform-name='s,^,b,'"
|
|
|
|
|
|
|
|
BBCLASSEXTEND = "native"
|
|
|
|
|
|
|
|
inherit autotools
|
|
|
|
|
|
|
|
do_configure() {
|
2012-09-20 10:56:34 +00:00
|
|
|
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
|
|
|
|
install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
|
2010-08-10 22:27:58 +00:00
|
|
|
oe_runconf
|
|
|
|
}
|