@@ -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"
we don't use tarball anymore and switched to ltp github mirror. Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org> --- meta/recipes-extended/ltp/ltp_20140115.bb | 12 ------------ 1 file changed, 12 deletions(-)