summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-05 12:49:09 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 12:15:24 +0000
commit039a1b4459f721f2b5af8a705787f8949b7de080 (patch)
treec0adaf5c1ccd2a093b718b0183b720f77c9edf6d
parent5c834057cbb1a51d97a3779a5d7835f462c98567 (diff)
downloadpoky-039a1b4459f721f2b5af8a705787f8949b7de080.tar.gz
bison: Convert to BBCLASSEXTEND
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-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 @@
1require bison_${PV}.bb
2PR = "r2"
3
4inherit native autotools
5
6do_stage() {
7 rm -f ${STAGING_BINDIR}/yacc
8 rm -f ${STAGING_BINDIR}/bison
9 install -m 0755 src/bison ${STAGING_BINDIR}/
10 cat >${STAGING_BINDIR}/yacc <<EOF
11#!/bin/sh
12exec ${STAGING_BINDIR}/bison -y "\$@"
13EOF
14 chmod a+rx ${STAGING_BINDIR}/yacc
15 install -d ${STAGING_DATADIR}/bison/m4sugar
16 install -m 0755 data/c.m4 data/glr.c data/lalr1.cc data/yacc.c ${STAGING_DATADIR}/bison/
17 install -m 0755 data/m4sugar/m4sugar.m4 ${STAGING_DATADIR}/bison/m4sugar/
18}
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"
7SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \ 7SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \
8 file://m4.patch;patch=1" 8 file://m4.patch;patch=1"
9 9
10PR = "r3"
11
10inherit autotools 12inherit autotools
13
14BBCLASSEXTEND = "native"