Patchwork [02/14] ltp: Package static library in -staticdev

login
register
mail settings
Submitter Saul Wold
Date March 14, 2012, 8:33 a.m.
Message ID <d989fddba5c086ecabe77aff7fd8c0d05a36b2a5.1331713807.git.sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/23237/
State Accepted
Commit d989fddba5c086ecabe77aff7fd8c0d05a36b2a5
Headers show

Comments

Saul Wold - March 14, 2012, 8:33 a.m.
WARNING: QA Issue: non -staticdev package contains static .a library: ltp path '/work/i586-poky-linux/ltp-20120104-r0/packages-split/ltp/opt/ltp/lib/libmem.a'
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-extended/ltp/ltp_20120104.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-extended/ltp/ltp_20120104.bb b/meta/recipes-extended/ltp/ltp_20120104.bb
index 07e1fcc..c82203a 100644
--- a/meta/recipes-extended/ltp/ltp_20120104.bb
+++ b/meta/recipes-extended/ltp/ltp_20120104.bb
@@ -19,6 +19,8 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 		    file://utils/benchmark/kernbench-0.42/COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
 		"
 
+PR = "r1"
+
 SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.bz2 \
            file://uclibc-getcontext.patch \
           "
@@ -39,6 +41,8 @@  FILES_${PN}-dbg += "/opt/ltp/scenario_groups/.debug"
 FILES_${PN}-dbg += "/opt/ltp/testscripts/.debug"
 FILES_${PN}-dbg += "/opt/ltp/testscripts/open_posix_testsuite/.debug"
 
+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/*"
 
 TARGET_CC_ARCH += "${LDFLAGS}"