diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-05 12:49:09 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-13 12:15:24 +0000 |
commit | 039a1b4459f721f2b5af8a705787f8949b7de080 (patch) | |
tree | c0adaf5c1ccd2a093b718b0183b720f77c9edf6d | |
parent | 5c834057cbb1a51d97a3779a5d7835f462c98567 (diff) | |
download | poky-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.bb | 18 | ||||
-rw-r--r-- | meta/packages/bison/bison_2.0.bb | 4 |
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 @@ | |||
1 | require bison_${PV}.bb | ||
2 | PR = "r2" | ||
3 | |||
4 | inherit native autotools | ||
5 | |||
6 | do_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 | ||
12 | exec ${STAGING_BINDIR}/bison -y "\$@" | ||
13 | EOF | ||
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" | |||
7 | SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \ | 7 | SRC_URI = "${GNU_MIRROR}/bison/bison-${PV}.tar.gz \ |
8 | file://m4.patch;patch=1" | 8 | file://m4.patch;patch=1" |
9 | 9 | ||
10 | PR = "r3" | ||
11 | |||
10 | inherit autotools | 12 | inherit autotools |
13 | |||
14 | BBCLASSEXTEND = "native" | ||