ltp: drop do_unpack_append/do_extract_tarball

we don't use tarball anymore and switched to ltp github mirror.

(From OE-Core rev: 2af5bcd2e68388ac0844cf6bd14d96823cf3deb9)

Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Fathi Boudra 2014-01-28 14:41:51 +02:00 committed by Richard Purdie
parent 27521186a0
commit 2cb8a4e1af
1 changed files with 0 additions and 12 deletions

View File

@ -36,10 +36,6 @@ TARGET_CC_ARCH += "${LDFLAGS}"
export prefix = "/opt/ltp"
export exec_prefix = "/opt/ltp"
do_unpack_append() {
bb.build.exec_func('do_extract_tarball', d)
}
do_install(){
install -d ${D}/opt/ltp/
oe_runmake DESTDIR=${D} SKIP_IDCHECK=1 install
@ -68,13 +64,5 @@ FILES_${PN}-staticdev += "/opt/ltp/lib/libmem.a"
FILES_${PN} += "/opt/ltp/* /opt/ltp/runtest/* /opt/ltp/scenario_groups/* /opt/ltp/testcases/bin/* /opt/ltp/testcases/bin/*/bin/* /opt/ltp/testscripts/* /opt/ltp/testcases/open_posix_testsuite/* /opt/ltp/testcases/open_posix_testsuite/conformance/* /opt/ltp/testcases/open_posix_testsuite/Documentation/* /opt/ltp/testcases/open_posix_testsuite/functional/* /opt/ltp/testcases/open_posix_testsuite/include/* /opt/ltp/testcases/open_posix_testsuite/scripts/* /opt/ltp/testcases/open_posix_testsuite/stress/* /opt/ltp/testcases/open_posix_testsuite/tools/*"
do_extract_tarball() {
if test -f ${WORKDIR}/ltp-full-${PV} ; then
tar x --no-same-owner -f ${WORKDIR}/ltp-full-${PV} -C ${WORKDIR}
rm -rf ${WORKDIR}/ltp-${PV}
mv ${WORKDIR}/ltp-full-${PV} ${WORKDIR}/ltp-${PV}
fi
}
# Avoid generated binaries stripping. Otherwise some of the ltp tests such as ldd01 & nm01 fails
INHIBIT_PACKAGE_STRIP = "1"