summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2018-01-05 13:06:16 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-06 22:32:22 +0000
commit953f6d9a717945cc20228e7f75371adc27f4ffbe (patch)
treeb96d3563a5e2dcda48ad023b4f69448a5042541f /meta/recipes-support
parent83ea4825eb67e22164b603baedc312579af61e95 (diff)
downloadpoky-953f6d9a717945cc20228e7f75371adc27f4ffbe.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: b1ef094bc0bba54bd54b03c0a3c082d9b6025895) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-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"