summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--meta/packages/bison/bison-native_2.0.bb18
-rw-r--r--meta/packages/bison/bison_2.0.bb4
2 files changed, 4 insertions, 18 deletions
diff --git a/meta/packages/bison/bison-native_2.0.bb b/meta/packages/bison/bison-native_2.0.bb
deleted file mode 100644
index 84bdb91ed9..0000000000
--- a/meta/packages/bison/bison-native_2.0.bb
+++ /dev/null
@@ -1,18 +0,0 @@
-require bison_${PV}.bb
-PR = "r2"
-
-inherit native autotools
-
-do_stage() {
- rm -f ${STAGING_BINDIR}/yacc
- rm -f ${STAGING_BINDIR}/bison
- install -m 0755 src/bison ${STAGING_BINDIR}/
- cat >${STAGING_BINDIR}/yacc <<EOF
-#!/bin/sh
-exec ${STAGING_BINDIR}/bison -y "\$@"
-EOF
- chmod a+rx ${STAGING_BINDIR}/yacc
- install -d ${STAGING_DATADIR}/bison/m4sugar
- install -m 0755 data/c.m4 data/glr.c data/lalr1.cc data/yacc.c ${STAGING_DATADIR}/bison/
- install -m 0755 data/m4sugar/m4sugar.m4 ${STAGING_DATADIR}/bison/m4sugar/
-}
diff --git a/meta/packages/bison/bison_2.0.bb b/meta/packages/bison/bison_2.0.bb
index edf549f442..6271adb1dd 100644
--- a/meta/packages/bison/bison_2.0.bb
+++ b/meta/packages/bison/bison_2.0.bb
@@ -7,4 +7,8 @@ PRIORITY = "optional"
SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \
file://m4.patch;patch=1"
+PR = "r3"
+
inherit autotools
+
+BBCLASSEXTEND = "native"