diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-28 23:28:15 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-02 15:44:10 +0100 |
| commit | bb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch) | |
| tree | 76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-devtools/flex/flex_2.6.4.bb | |
| parent | fcc456ee4b8f619134abb4649db53c638074082c (diff) | |
| download | poky-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/flex_2.6.4.bb')
| -rw-r--r-- | meta/recipes-devtools/flex/flex_2.6.4.bb | 14 |
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." | |||
| 4 | HOMEPAGE = "http://sourceforge.net/projects/flex/" | 4 | HOMEPAGE = "http://sourceforge.net/projects/flex/" |
| 5 | SECTION = "devel" | 5 | SECTION = "devel" |
| 6 | LICENSE = "BSD-3-Clause & LGPL-2.0+" | 6 | LICENSE = "BSD-3-Clause & LGPL-2.0+" |
| 7 | LICENSE_${PN}-libfl = "BSD-3-Clause" | 7 | LICENSE:${PN}-libfl = "BSD-3-Clause" |
| 8 | 8 | ||
| 9 | DEPENDS = "${@bb.utils.contains('PTEST_ENABLED', '1', 'bison-native flex-native', '', d)}" | 9 | DEPENDS = "${@bb.utils.contains('PTEST_ENABLED', '1', 'bison-native flex-native', '', d)}" |
| 10 | BBCLASSEXTEND = "native nativesdk" | 10 | BBCLASSEXTEND = "native nativesdk" |
| @@ -31,26 +31,26 @@ UPSTREAM_CHECK_REGEX = "flex-(?P<pver>\d+(\.\d+)+)\.tar" | |||
| 31 | inherit autotools gettext texinfo ptest | 31 | inherit autotools gettext texinfo ptest |
| 32 | 32 | ||
| 33 | M4 = "${bindir}/m4" | 33 | M4 = "${bindir}/m4" |
| 34 | M4_class-native = "${STAGING_BINDIR_NATIVE}/m4" | 34 | M4:class-native = "${STAGING_BINDIR_NATIVE}/m4" |
| 35 | EXTRA_OECONF += "ac_cv_path_M4=${M4} ac_cv_func_reallocarray=no" | 35 | EXTRA_OECONF += "ac_cv_path_M4=${M4} ac_cv_func_reallocarray=no" |
| 36 | EXTRA_OEMAKE += "m4=${STAGING_BINDIR_NATIVE}/m4" | 36 | EXTRA_OEMAKE += "m4=${STAGING_BINDIR_NATIVE}/m4" |
| 37 | 37 | ||
| 38 | EXTRA_OEMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', 'FLEX=${STAGING_BINDIR_NATIVE}/flex', '', d)}" | 38 | EXTRA_OEMAKE += "${@bb.utils.contains('PTEST_ENABLED', '1', 'FLEX=${STAGING_BINDIR_NATIVE}/flex', '', d)}" |
| 39 | 39 | ||
| 40 | do_install_append_class-native() { | 40 | do_install:append:class-native() { |
| 41 | create_wrapper ${D}/${bindir}/flex M4=${M4} | 41 | create_wrapper ${D}/${bindir}/flex M4=${M4} |
| 42 | } | 42 | } |
| 43 | 43 | ||
| 44 | do_install_append_class-nativesdk() { | 44 | do_install:append:class-nativesdk() { |
| 45 | create_wrapper ${D}/${bindir}/flex M4=${M4} | 45 | create_wrapper ${D}/${bindir}/flex M4=${M4} |
| 46 | } | 46 | } |
| 47 | 47 | ||
| 48 | PACKAGES =+ "${PN}-libfl" | 48 | PACKAGES =+ "${PN}-libfl" |
| 49 | 49 | ||
| 50 | FILES_${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*" | 50 | FILES:${PN}-libfl = "${libdir}/libfl.so.* ${libdir}/libfl_pic.so.*" |
| 51 | 51 | ||
| 52 | RDEPENDS_${PN} += "m4" | 52 | RDEPENDS:${PN} += "m4" |
| 53 | RDEPENDS_${PN}-ptest += "bash gawk make" | 53 | RDEPENDS:${PN}-ptest += "bash gawk make" |
| 54 | 54 | ||
| 55 | do_compile_ptest() { | 55 | do_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 |
