diff options
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20140115.bb | 12 |
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}" | |||
36 | export prefix = "/opt/ltp" | 36 | export prefix = "/opt/ltp" |
37 | export exec_prefix = "/opt/ltp" | 37 | export exec_prefix = "/opt/ltp" |
38 | 38 | ||
39 | do_unpack_append() { | ||
40 | bb.build.exec_func('do_extract_tarball', d) | ||
41 | } | ||
42 | |||
43 | do_install(){ | 39 | do_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 | ||
69 | 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/*" | 65 | 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/*" |
70 | 66 | ||
71 | do_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 |
80 | INHIBIT_PACKAGE_STRIP = "1" | 68 | INHIBIT_PACKAGE_STRIP = "1" |