summaryrefslogtreecommitdiff
path: root/bison
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-12-08 11:02:23 +0000
committerChris Larson <clarson@kergoth.com>2004-12-08 11:02:23 +0000
commit1016c9f974cb6cff0bb82291f3938ded9dcaaf42 (patch)
treeba736ff757051b7d6e275e2c746651ff480748e7 /bison
parent922acc09ac4c74272b0291a22fb1e466c1689270 (diff)
Updates per the core rename.
BKrev: 41b6df3f1WM7snr9msmSOLS9PzF8Sg
Diffstat (limited to 'bison')
-rw-r--r--bison/bison-native_1.875.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/bison/bison-native_1.875.bb b/bison/bison-native_1.875.bb
index e69de29bb2..a6078f140b 100644
--- a/bison/bison-native_1.875.bb
+++ b/bison/bison-native_1.875.bb
@@ -0,0 +1,14 @@
+include bison_${PV}.bb
+SECTION = "devel"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/bison-${PV}"
+S = "${WORKDIR}/bison-${PV}"
+
+inherit native autotools
+
+do_stage() {
+ install -m 0755 src/bison ${STAGING_BINDIR}/
+ ln -sf ./bison ${STAGING_BINDIR}/yacc
+ install -d ${STAGING_BINDIR}/../share/bison/m4sugar
+ install -m 0755 data/c.m4 data/glr.c data/lalr1.cc data/yacc.c ${STAGING_BINDIR}/../share/bison/
+ install -m 0755 data/m4sugar/m4sugar.m4 ${STAGING_BINDIR}/../share/bison/m4sugar/
+}