summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-01-17 12:14:00 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-25 11:36:25 +0000
commitc770664d3125a0a0e73444a3a2a97418b7c0d7a5 (patch)
tree5e4bfd46542c2649abbd466749e3025790607158 /meta
parent3af416deac44e2e0ae4b30465a79e502b4a9229c (diff)
downloadpoky-c770664d3125a0a0e73444a3a2a97418b7c0d7a5.tar.gz
lz4: remove ptest changes
This recipe installs the test suite by copying the entire build tree into /usr/share/ptest, which is both wasteful and breaks packaging as lz4-ptest then gets renamed by debian.bbclass to liblz4. (From OE-Core rev: 68a3f33027b9ee5ed53a47dd839fc407dcbbaee9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/lz4/lz4_1.7.4.bb10
1 files changed, 1 insertions, 9 deletions
diff --git a/meta/recipes-support/lz4/lz4_1.7.4.bb b/meta/recipes-support/lz4/lz4_1.7.4.bb
index 9e86985d69..86a1ab9ab9 100644
--- a/meta/recipes-support/lz4/lz4_1.7.4.bb
+++ b/meta/recipes-support/lz4/lz4_1.7.4.bb
@@ -17,19 +17,11 @@ SRC_URI = "git://github.com/lz4/lz4.git \
17UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)" 17UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
18 18
19S = "${WORKDIR}/git" 19S = "${WORKDIR}/git"
20inherit ptest
21 20
22EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}" 21EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
23 22
24do_install() { 23do_install() {
25 oe_runmake install 24 oe_runmake install
26} 25}
27 26
28do_install_ptest () {
29 install -d ${D}${PTEST_PATH}/testsuite
30 cp -rf ${S}/* ${D}${PTEST_PATH}/testsuite
31}
32
33RDEPENDS_${PN}-ptest += "make python3"
34
35BBCLASSEXTEND = "native nativesdk" 27BBCLASSEXTEND = "native nativesdk"