summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/flex
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/flex
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/flex')
-rw-r--r--meta/recipes-devtools/flex/flex_2.6.4.bb14
1 files changed, 7 insertions, 7 deletions
diff --git a/meta/recipes-devtools/flex/flex_2.6.4.bb b/meta/recipes-devtools/flex/flex_2.6.4.bb
index 54e7e01729..56f5b742e2 100644
--- a/meta/recipes-devtools/flex/flex_2.6.4.bb
+++ b/meta/recipes-devtools/flex/flex_2.6.4.bb
@@ -4,7 +4,7 @@ lexical patterns in text."
4HOMEPAGE = "http://sourceforge.net/projects/flex/" 4HOMEPAGE = "http://sourceforge.net/projects/flex/"
5SECTION = "devel" 5SECTION = "devel"
6LICENSE = "BSD-3-Clause & LGPL-2.0+" 6LICENSE = "BSD-3-Clause & LGPL-2.0+"
7LICENSE_${PN}-libfl = "BSD-3-Clause" 7LICENSE:${PN}-libfl = "BSD-3-Clause"
8 8
9DEPENDS = "${@bb.utils.contains('PTEST_ENABLED', '1', 'bison-native flex-native', '', d)}" 9DEPENDS = "${@bb.utils.contains('PTEST_ENABLED', '1', 'bison-native flex-native', '', d)}"
10BBCLASSEXTEND = "native nativesdk" 10BBCLASSEXTEND = "native nativesdk"
@@ -31,26 +31,26 @@ UPSTREAM_CHECK_REGEX = "flex-(?P<pver>\d+(\.\d+)+)\.tar"
31inherit autotools gettext texinfo ptest 31inherit autotools gettext texinfo ptest
32 32
33M4 = "${bindir}/m4" 33M4 = "${bindir}/m4"
34M4_class-native = "${STAGING_BINDIR_NATIVE}/m4" 34M4:class-native = "${STAGING_BINDIR_NATIVE}/m4"
35EXTRA_OECONF += "ac_cv_path_M4=${M4} ac_cv_func_reallocarray=no" 35EXTRA_OECONF += "ac_cv_path_M4=${M4} ac_cv_func_reallocarray=no"
36EXTRA_OEMAKE += "m4=${STAGING_BINDIR_NATIVE}/m4" 36EXTRA_OEMAKE += "m4=${STAGING_BINDIR_NATIVE}/m4"
37 37
38EXTRA_OEMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', 'FLEX=${STAGING_BINDIR_NATIVE}/flex', '', d)}" 38EXTRA_OEMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', 'FLEX=${STAGING_BINDIR_NATIVE}/flex', '', d)}"
39 39
40do_install_append_class-native() { 40do_install:append:class-native() {
41 create_wrapper ${D}/${bindir}/flex M4=${M4} 41 create_wrapper ${D}/${bindir}/flex M4=${M4}
42} 42}
43 43
44do_install_append_class-nativesdk() { 44do_install:append:class-nativesdk() {
45 create_wrapper ${D}/${bindir}/flex M4=${M4} 45 create_wrapper ${D}/${bindir}/flex M4=${M4}
46} 46}
47 47
48PACKAGES =+ "${PN}-libfl" 48PACKAGES =+ "${PN}-libfl"
49 49
50FILES_${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*" 50FILES:${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*"
51 51
52RDEPENDS_${PN} += "m4" 52RDEPENDS:${PN} += "m4"
53RDEPENDS_${PN}-ptest += "bash gawk make" 53RDEPENDS:${PN}-ptest += "bash gawk make"
54 54
55do_compile_ptest() { 55do_compile_ptest() {
56 oe_runmake -C ${B}/tests -f ${B}/tests/Makefile top_builddir=${B} INCLUDES=-I${S}/src buildtests 56 oe_runmake -C ${B}/tests -f ${B}/tests/Makefile top_builddir=${B} INCLUDES=-I${S}/src buildtests