blob: a3d9bfdb70c32373ea092db9c09f463e2a6c2d85 [file] [log] [blame]
Brad Bishopd7bf8c12018-02-25 22:55:05 -05001SUMMARY = "Berkeley LALR Yacc parser generator"
2HOMEPAGE = "http://invisible-island.net/byacc/"
3DESCRIPTION = "A parser generator utility that reads a grammar specification from a file and generates an LR(1) \
4parser for it. The parsers consist of a set of LALR(1) parsing tables and a driver routine written in the C \
5programming language."
6SECTION = "devel"
7LICENSE = "PD"
8
Andrew Geisslereff27472021-10-29 15:35:00 -05009SRC_URI = "https://invisible-mirror.net/archives/byacc/byacc-${PV}.tgz \
Brad Bishopd7bf8c12018-02-25 22:55:05 -050010 file://byacc-open.patch \
11 file://0001-byacc-do-not-reorder-CC-and-CFLAGS.patch"
12
13EXTRA_OECONF += "--program-transform-name='s,^,b,'"
14
Andrew Geisslerd688a012020-09-18 13:36:00 -050015BBCLASSEXTEND = "native nativesdk"
Brad Bishopd7bf8c12018-02-25 22:55:05 -050016
17inherit autotools
18
19do_configure() {
20 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.guess ${S}
21 install -m 0755 ${STAGING_DATADIR_NATIVE}/gnu-config/config.sub ${S}
22 oe_runconf
23}