summaryrefslogtreecommitdiffstats
path: root/meta/classes/ptest.bbclass
diff options
context:
space:
mode:
authorKonrad Weihmann <kweihmann@outlook.com>2020-07-08 20:44:09 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-12 12:21:48 +0100
commit2c53213a1b9571b6cca01e70ba4c3e3af4f4b418 (patch)
tree9e9744d3942bbdb330e24b0438ded41c86266efd /meta/classes/ptest.bbclass
parentddbbacb2b8f3708edb6a071f3ba771d78c9b29f7 (diff)
downloadpoky-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.bbclass2
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"
6PTEST_BUILD_HOST_FILES ?= "Makefile" 6PTEST_BUILD_HOST_FILES ?= "Makefile"
7PTEST_BUILD_HOST_PATTERN ?= "" 7PTEST_BUILD_HOST_PATTERN ?= ""
8 8
9FILES_${PN}-ptest = "${PTEST_PATH}" 9FILES_${PN}-ptest += "${PTEST_PATH}"
10SECTION_${PN}-ptest = "devel" 10SECTION_${PN}-ptest = "devel"
11ALLOW_EMPTY_${PN}-ptest = "1" 11ALLOW_EMPTY_${PN}-ptest = "1"
12PTEST_ENABLED = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}" 12PTEST_ENABLED = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '1', '0', d)}"