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-extended/ltp | |
| 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-extended/ltp')
| -rw-r--r-- | meta/recipes-extended/ltp/ltp_20210524.bb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20210524.bb b/meta/recipes-extended/ltp/ltp_20210524.bb index 26fd9ac049..702fa62b66 100644 --- a/meta/recipes-extended/ltp/ltp_20210524.bb +++ b/meta/recipes-extended/ltp/ltp_20210524.bb | |||
| @@ -15,18 +15,18 @@ LIC_FILES_CHKSUM = "\ | |||
| 15 | " | 15 | " |
| 16 | 16 | ||
| 17 | DEPENDS = "attr libaio libcap acl openssl zip-native" | 17 | DEPENDS = "attr libaio libcap acl openssl zip-native" |
| 18 | DEPENDS_append_libc-musl = " fts " | 18 | DEPENDS:append:libc-musl = " fts " |
| 19 | EXTRA_OEMAKE_append_libc-musl = " LIBC=musl " | 19 | EXTRA_OEMAKE:append:libc-musl = " LIBC=musl " |
| 20 | EXTRA_OECONF_append_libc-musl = " LIBS=-lfts " | 20 | EXTRA_OECONF:append:libc-musl = " LIBS=-lfts " |
| 21 | 21 | ||
| 22 | # since ltp contains x86-64 assembler which uses the frame-pointer register, | 22 | # since ltp contains x86-64 assembler which uses the frame-pointer register, |
| 23 | # set -fomit-frame-pointer x86-64 to handle cases where optimisation | 23 | # set -fomit-frame-pointer x86-64 to handle cases where optimisation |
| 24 | # is set to -O0 or frame pointers have been enabled by -fno-omit-frame-pointer | 24 | # is set to -O0 or frame pointers have been enabled by -fno-omit-frame-pointer |
| 25 | # earlier in CFLAGS, etc. | 25 | # earlier in CFLAGS, etc. |
| 26 | CFLAGS_append_x86-64 = " -fomit-frame-pointer" | 26 | CFLAGS:append:x86-64 = " -fomit-frame-pointer" |
| 27 | 27 | ||
| 28 | CFLAGS_append_powerpc64 = " -D__SANE_USERSPACE_TYPES__" | 28 | CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" |
| 29 | CFLAGS_append_mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" | 29 | CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" |
| 30 | SRCREV = "0fb171f2beddaf64bd27597577c206c0f892b3cd" | 30 | SRCREV = "0fb171f2beddaf64bd27597577c206c0f892b3cd" |
| 31 | 31 | ||
| 32 | SRC_URI = "git://github.com/linux-test-project/ltp.git \ | 32 | SRC_URI = "git://github.com/linux-test-project/ltp.git \ |
| @@ -75,7 +75,7 @@ do_install(){ | |||
| 75 | sed -e '/^memcg_stress/d' -i ${D}${prefix}/runtest/controllers | 75 | sed -e '/^memcg_stress/d' -i ${D}${prefix}/runtest/controllers |
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | RDEPENDS_${PN} = "\ | 78 | RDEPENDS:${PN} = "\ |
| 79 | attr \ | 79 | attr \ |
| 80 | bash \ | 80 | bash \ |
| 81 | bc \ | 81 | bc \ |
| @@ -105,11 +105,11 @@ RDEPENDS_${PN} = "\ | |||
| 105 | tar \ | 105 | tar \ |
| 106 | " | 106 | " |
| 107 | 107 | ||
| 108 | FILES_${PN} += "${prefix}/* ${prefix}/runtest/* ${prefix}/scenario_groups/* ${prefix}/testcases/bin/* ${prefix}/testcases/bin/*/bin/* ${prefix}/testscripts/* ${prefix}/testcases/open_posix_testsuite/* ${prefix}/testcases/open_posix_testsuite/conformance/* ${prefix}/testcases/open_posix_testsuite/Documentation/* ${prefix}/testcases/open_posix_testsuite/functional/* ${prefix}/testcases/open_posix_testsuite/include/* ${prefix}/testcases/open_posix_testsuite/scripts/* ${prefix}/testcases/open_posix_testsuite/stress/* ${prefix}/testcases/open_posix_testsuite/tools/* ${prefix}/testcases/data/nm01/lib.a ${prefix}/lib/libmem.a" | 108 | FILES:${PN} += "${prefix}/* ${prefix}/runtest/* ${prefix}/scenario_groups/* ${prefix}/testcases/bin/* ${prefix}/testcases/bin/*/bin/* ${prefix}/testscripts/* ${prefix}/testcases/open_posix_testsuite/* ${prefix}/testcases/open_posix_testsuite/conformance/* ${prefix}/testcases/open_posix_testsuite/Documentation/* ${prefix}/testcases/open_posix_testsuite/functional/* ${prefix}/testcases/open_posix_testsuite/include/* ${prefix}/testcases/open_posix_testsuite/scripts/* ${prefix}/testcases/open_posix_testsuite/stress/* ${prefix}/testcases/open_posix_testsuite/tools/* ${prefix}/testcases/data/nm01/lib.a ${prefix}/lib/libmem.a" |
| 109 | 109 | ||
| 110 | # Avoid stripping some generated binaries otherwise some of the ltp tests such as ldd01 & nm01 fail | 110 | # Avoid stripping some generated binaries otherwise some of the ltp tests such as ldd01 & nm01 fail |
| 111 | INHIBIT_PACKAGE_STRIP_FILES = "${prefix}/testcases/bin/nm01 ${prefix}/testcases/bin/ldd01" | 111 | INHIBIT_PACKAGE_STRIP_FILES = "${prefix}/testcases/bin/nm01 ${prefix}/testcases/bin/ldd01" |
| 112 | INSANE_SKIP_${PN} += "already-stripped staticdev" | 112 | INSANE_SKIP:${PN} += "already-stripped staticdev" |
| 113 | 113 | ||
| 114 | remove_broken_musl_sources() { | 114 | remove_broken_musl_sources() { |
| 115 | [ "${TCLIBC}" = "musl" ] || return 0 | 115 | [ "${TCLIBC}" = "musl" ] || return 0 |
| @@ -135,4 +135,4 @@ do_patch[postfuncs] += "remove_broken_musl_sources" | |||
| 135 | # exist on the running system. For instance it has specific checks for | 135 | # exist on the running system. For instance it has specific checks for |
| 136 | # csh and ksh which are not typically part of OpenEmbedded systems (but | 136 | # csh and ksh which are not typically part of OpenEmbedded systems (but |
| 137 | # can be added via additional layers.) | 137 | # can be added via additional layers.) |
| 138 | SKIP_FILEDEPS_${PN} = '1' | 138 | SKIP_FILEDEPS:${PN} = '1' |
