Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | SUMMARY = "Berkeley LALR Yacc parser generator" |
| 2 | HOMEPAGE = "http://invisible-island.net/byacc/" |
| 3 | DESCRIPTION = "A parser generator utility that reads a grammar specification from a file and generates an LR(1) \ |
| 4 | parser for it. The parsers consist of a set of LALR(1) parsing tables and a driver routine written in the C \ |
| 5 | programming language." |
| 6 | SECTION = "devel" |
| 7 | LICENSE = "PD" |
| 8 | |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 9 | SRC_URI = "ftp://ftp.invisible-island.net/byacc/byacc-${PV}.tgz \ |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 10 | file://byacc-open.patch \ |
| 11 | file://0001-byacc-do-not-reorder-CC-and-CFLAGS.patch" |
| 12 | |
| 13 | EXTRA_OECONF += "--program-transform-name='s,^,b,'" |
| 14 | |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 15 | BBCLASSEXTEND = "native nativesdk" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 16 | |
| 17 | inherit autotools |
| 18 | |
| 19 | do_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 | } |