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