mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 05:29:32 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
83ea4825eb
commit
953f6d9a71
@@ -17,7 +17,6 @@ SRC_URI = "git://github.com/lz4/lz4.git \
|
|||||||
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
|
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>.*)"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
inherit ptest
|
|
||||||
|
|
||||||
EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
|
EXTRA_OEMAKE = "PREFIX=${prefix} CC='${CC}' DESTDIR=${D} LIBDIR=${libdir} INCLUDEDIR=${includedir}"
|
||||||
|
|
||||||
@@ -25,11 +24,4 @@ do_install() {
|
|||||||
oe_runmake install
|
oe_runmake install
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install_ptest () {
|
|
||||||
install -d ${D}${PTEST_PATH}/testsuite
|
|
||||||
cp -rf ${S}/* ${D}${PTEST_PATH}/testsuite
|
|
||||||
}
|
|
||||||
|
|
||||||
RDEPENDS_${PN}-ptest += "make python3"
|
|
||||||
|
|
||||||
BBCLASSEXTEND = "native nativesdk"
|
BBCLASSEXTEND = "native nativesdk"
|
||||||
|
|||||||
Reference in New Issue
Block a user