summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorKonrad Weihmann <kweihmann@outlook.com>2020-07-08 18:44:09 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-07-22 21:46:37 (GMT)
commit4b32bd49fd77d690ba35aaad2e9790fa71073efe (patch)
tree961341488a97fd6449958202edb25809bb49c5f2 /meta/classes
parentf650f173b0d327241ded7fbb4d0cb4b5f8b94b36 (diff)
downloadpoky-4b32bd49fd77d690ba35aaad2e9790fa71073efe.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: 1a52f9ec394ec2ce9899543c1b9ef95e926ebf14) Signed-off-by: Konrad Weihmann <kweihmann@outlook.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 419ad35ffe7f5199e49a246ef9854f0810ca1d6c) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-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 fa4c36e..47611ed 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)}"