diff options
author | Konrad Weihmann <kweihmann@outlook.com> | 2020-07-08 20:44:09 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-07-12 12:21:48 +0100 |
commit | 2c53213a1b9571b6cca01e70ba4c3e3af4f4b418 (patch) | |
tree | 9e9744d3942bbdb330e24b0438ded41c86266efd /meta/classes/ptest.bbclass | |
parent | ddbbacb2b8f3708edb6a071f3ba771d78c9b29f7 (diff) | |
download | poky-2c53213a1b9571b6cca01e70ba4c3e3af4f4b418.tar.gz |
ptest: append to FILES
as ptest FILES could be determined before or after the classes was
inherited, if is much safer to append to the setting of
FILES_${PN}-ptest
(From OE-Core rev: 419ad35ffe7f5199e49a246ef9854f0810ca1d6c)
Signed-off-by: Konrad Weihmann <kweihmann@outlook.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/ptest.bbclass')
-rw-r--r-- | meta/classes/ptest.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/ptest.bbclass b/meta/classes/ptest.bbclass index fa4c36ec76..47611edea2 100644 --- a/meta/classes/ptest.bbclass +++ b/meta/classes/ptest.bbclass | |||
@@ -6,7 +6,7 @@ PTEST_PATH ?= "${libdir}/${BPN}/ptest" | |||
6 | PTEST_BUILD_HOST_FILES ?= "Makefile" | 6 | PTEST_BUILD_HOST_FILES ?= "Makefile" |
7 | PTEST_BUILD_HOST_PATTERN ?= "" | 7 | PTEST_BUILD_HOST_PATTERN ?= "" |
8 | 8 | ||
9 | FILES_${PN}-ptest = "${PTEST_PATH}" | 9 | FILES_${PN}-ptest += "${PTEST_PATH}" |
10 | SECTION_${PN}-ptest = "devel" | 10 | SECTION_${PN}-ptest = "devel" |
11 | ALLOW_EMPTY_${PN}-ptest = "1" | 11 | ALLOW_EMPTY_${PN}-ptest = "1" |
12 | PTEST_ENABLED = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}" | 12 | PTEST_ENABLED = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}" |