summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/bison
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/bison
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/bison')
-rw-r--r--meta/recipes-devtools/bison/bison_3.7.6.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-devtools/bison/bison_3.7.6.bb b/meta/recipes-devtools/bison/bison_3.7.6.bb
index a8d57f2742..c85ae04976 100644
--- a/meta/recipes-devtools/bison/bison_3.7.6.bb
+++ b/meta/recipes-devtools/bison/bison_3.7.6.bb
@@ -21,7 +21,7 @@ inherit autotools gettext texinfo
21CACHED_CONFIGUREVARS = "ac_cv_path_M4=m4" 21CACHED_CONFIGUREVARS = "ac_cv_path_M4=m4"
22 22
23PACKAGECONFIG ??= "readline ${@ 'textstyle' if d.getVar('USE_NLS') == 'yes' else ''}" 23PACKAGECONFIG ??= "readline ${@ 'textstyle' if d.getVar('USE_NLS') == 'yes' else ''}"
24PACKAGECONFIG_class-native ??= "" 24PACKAGECONFIG:class-native ??= ""
25 25
26# Make readline and textstyle optional. There are recipie for these, but leave them 26# Make readline and textstyle optional. There are recipie for these, but leave them
27# disabled for the native recipe. This prevents host contamination of the native tool. 27# disabled for the native recipe. This prevents host contamination of the native tool.
@@ -38,15 +38,15 @@ CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'readline', '', '
38# The automatic m4 path detection gets confused, so force the right value 38# The automatic m4 path detection gets confused, so force the right value
39acpaths = "-I ./m4" 39acpaths = "-I ./m4"
40 40
41do_compile_prepend() { 41do_compile:prepend() {
42 for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done 42 for i in mfcalc calc++ rpcalc; do mkdir -p ${B}/examples/$i; done
43} 43}
44 44
45do_install_append_class-native() { 45do_install:append:class-native() {
46 create_wrapper ${D}/${bindir}/bison \ 46 create_wrapper ${D}/${bindir}/bison \
47 BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison 47 BISON_PKGDATADIR=${STAGING_DATADIR_NATIVE}/bison
48} 48}
49do_install_append_class-nativesdk() { 49do_install:append:class-nativesdk() {
50 create_wrapper ${D}/${bindir}/bison \ 50 create_wrapper ${D}/${bindir}/bison \
51 BISON_PKGDATADIR=${datadir}/bison 51 BISON_PKGDATADIR=${datadir}/bison
52} 52}