summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2014-01-28 14:41:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-02 11:22:09 +0000
commit2cb8a4e1af1f8ae751280a59ab975c63b5f0f384 (patch)
tree9f055fe31207321bb2500e4006963b380761e0eb /meta/recipes-extended
parent27521186a02c440ebfaba5e14c8fb62ead7170fe (diff)
downloadpoky-2cb8a4e1af1f8ae751280a59ab975c63b5f0f384.tar.gz
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>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/ltp/ltp_20140115.bb12
1 files changed, 0 insertions, 12 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20140115.bb b/meta/recipes-extended/ltp/ltp_20140115.bb
index 47efb4a63d..287f73d9d3 100644
--- a/meta/recipes-extended/ltp/ltp_20140115.bb
+++ b/meta/recipes-extended/ltp/ltp_20140115.bb
@@ -36,10 +36,6 @@ TARGET_CC_ARCH += "${LDFLAGS}"
36export prefix = "/opt/ltp" 36export prefix = "/opt/ltp"
37export exec_prefix = "/opt/ltp" 37export exec_prefix = "/opt/ltp"
38 38
39do_unpack_append() {
40 bb.build.exec_func('do_extract_tarball', d)
41}
42
43do_install(){ 39do_install(){
44 install -d ${D}/opt/ltp/ 40 install -d ${D}/opt/ltp/
45 oe_runmake DESTDIR=${D} SKIP_IDCHECK=1 install 41 oe_runmake DESTDIR=${D} SKIP_IDCHECK=1 install
@@ -68,13 +64,5 @@ FILES_${PN}-staticdev += "/opt/ltp/lib/libmem.a"
68 64
69FILES_${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/*" 65FILES_${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/*"
70 66
71do_extract_tarball() {
72 if test -f ${WORKDIR}/ltp-full-${PV} ; then
73 tar x --no-same-owner -f ${WORKDIR}/ltp-full-${PV} -C ${WORKDIR}
74 rm -rf ${WORKDIR}/ltp-${PV}
75 mv ${WORKDIR}/ltp-full-${PV} ${WORKDIR}/ltp-${PV}
76 fi
77}
78
79# Avoid generated binaries stripping. Otherwise some of the ltp tests such as ldd01 & nm01 fails 67# Avoid generated binaries stripping. Otherwise some of the ltp tests such as ldd01 & nm01 fails
80INHIBIT_PACKAGE_STRIP = "1" 68INHIBIT_PACKAGE_STRIP = "1"