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 | |
Andrew Geissler | eff2747 | 2021-10-29 15:35:00 -0500 | [diff] [blame] | 9 | SRC_URI = "https://invisible-mirror.net/archives/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 | } |