diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2017-02-23 16:08:30 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-04 23:18:19 +0000 |
commit | 5528cd5c0fc079a477cae6f49edb48c7e83ed7c2 (patch) | |
tree | 941793d26f7d869400120c83acf08ff2a1d928e6 /meta | |
parent | ba40c2f8bfc1343c5c881b889cbcb035c364bdf0 (diff) | |
download | poky-5528cd5c0fc079a477cae6f49edb48c7e83ed7c2.tar.gz |
ptest.bbclass: use BPN in PTEST_PATH for multilib
Use BPN instead of PN in PTEST_PATH for multilib builds,
or we get two directories for a package in libdir which
doesn't make sense, e.g.
$ ls /usr/lib/*coreutils
/usr/lib/coreutils:
libstdbuf.so
/usr/lib/lib32-coreutils:
ptest
(From OE-Core rev: 0e949b7bfc4207aba0e3c4d12b76cc1f1815470d)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 798d802974..c19f65b9bb 100644 --- a/meta/classes/ptest.bbclass +++ b/meta/classes/ptest.bbclass | |||
@@ -2,7 +2,7 @@ SUMMARY_${PN}-ptest ?= "${SUMMARY} - Package test files" | |||
2 | DESCRIPTION_${PN}-ptest ?= "${DESCRIPTION} \ | 2 | DESCRIPTION_${PN}-ptest ?= "${DESCRIPTION} \ |
3 | This package contains a test directory ${PTEST_PATH} for package test purposes." | 3 | This package contains a test directory ${PTEST_PATH} for package test purposes." |
4 | 4 | ||
5 | PTEST_PATH ?= "${libdir}/${PN}/ptest" | 5 | PTEST_PATH ?= "${libdir}/${BPN}/ptest" |
6 | FILES_${PN}-ptest = "${PTEST_PATH}" | 6 | FILES_${PN}-ptest = "${PTEST_PATH}" |
7 | SECTION_${PN}-ptest = "devel" | 7 | SECTION_${PN}-ptest = "devel" |
8 | ALLOW_EMPTY_${PN}-ptest = "1" | 8 | ALLOW_EMPTY_${PN}-ptest = "1" |