summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp_20140115.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/ltp/ltp_20140115.bb')
-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"