diff options
author | Dengke Du <dengke.du@windriver.com> | 2017-12-04 04:22:03 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-12-10 22:45:19 +0000 |
commit | bedc369e2a127546de4d56db8e1a1012d17b209f (patch) | |
tree | dfd67da1dbc238f7d82d5d7720988c57b2d00213 /meta/recipes-extended/ltp | |
parent | 6e0ce03ff7b45c4699a360826003f9650fed6693 (diff) | |
download | poky-bedc369e2a127546de4d56db8e1a1012d17b209f.tar.gz |
ltp: remove ltp-staticdev package
The nm01 testcase runtime depends on a static library, and ltp-staticdev
package is entirely pointless, so remove it and add the static libraries
to ltp main package and skip the "staticdev" checks.
(From OE-Core rev: 002f7b9f038b86b793b8e0558bcd17ad58372767)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp')
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20170929.bb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20170929.bb b/meta/recipes-extended/ltp/ltp_20170929.bb index 8a870b36ac..aaa7c93fe3 100644 --- a/meta/recipes-extended/ltp/ltp_20170929.bb +++ b/meta/recipes-extended/ltp/ltp_20170929.bb | |||
@@ -106,15 +106,13 @@ RDEPENDS_${PN} = "\ | |||
106 | which \ | 106 | which \ |
107 | " | 107 | " |
108 | 108 | ||
109 | FILES_${PN}-staticdev += "/opt/ltp/lib/libmem.a /opt/ltp/testcases/data/nm01/lib.a" | 109 | 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/* /opt/ltp/testcases/data/nm01/lib.a /opt/ltp/lib/libmem.a" |
110 | |||
111 | 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/*" | ||
112 | 110 | ||
113 | # Avoid generated binaries stripping. Otherwise some of the ltp tests such as ldd01 & nm01 fails | 111 | # Avoid generated binaries stripping. Otherwise some of the ltp tests such as ldd01 & nm01 fails |
114 | INHIBIT_PACKAGE_STRIP = "1" | 112 | INHIBIT_PACKAGE_STRIP = "1" |
115 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | 113 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" |
116 | # However, test_arch_stripped is already stripped, so... | 114 | # However, test_arch_stripped is already stripped, so... |
117 | INSANE_SKIP_${PN} += "already-stripped" | 115 | INSANE_SKIP_${PN} += "already-stripped staticdev" |
118 | 116 | ||
119 | # Avoid file dependency scans, as LTP checks for things that may or may not | 117 | # Avoid file dependency scans, as LTP checks for things that may or may not |
120 | # exist on the running system. For instance it has specific checks for | 118 | # exist on the running system. For instance it has specific checks for |