aboutsummaryrefslogtreecommitdiff
path: root/meta-linaro
diff options
context:
space:
mode:
authorAnders Roxell <anders.roxell@linaro.org>2016-04-19 11:59:19 +0200
committerAnders Roxell <anders.roxell@linaro.org>2016-04-22 15:19:48 +0200
commit0b7fddce879ff48f718b8fb7afe6dc520544c394 (patch)
tree3c6b6999f1fc5992ec9a6e761fb9ba0ac2961288 /meta-linaro
parent2793ff3ce7db3089a1b8dd8489643ec9fc892f86 (diff)
downloadmeta-linaro-0b7fddce879ff48f718b8fb7afe6dc520544c394.tar.gz
meta-linaro: odp: splitup into libodp-linux and libodphelper-linux
Change-Id: I7c863f2ad7fdc891e038688cace786645f0f17c0 Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Diffstat (limited to 'meta-linaro')
-rw-r--r--meta-linaro/recipes-extra/odp/odp_v1.9.0.0.bb50
1 files changed, 48 insertions, 2 deletions
diff --git a/meta-linaro/recipes-extra/odp/odp_v1.9.0.0.bb b/meta-linaro/recipes-extra/odp/odp_v1.9.0.0.bb
index 7b3e8451..7e6258f7 100644
--- a/meta-linaro/recipes-extra/odp/odp_v1.9.0.0.bb
+++ b/meta-linaro/recipes-extra/odp/odp_v1.9.0.0.bb
@@ -28,8 +28,54 @@ do_install_ptest() {
ln -s test/run-test ${D}/${PTEST_PATH}/run-ptest
}
+#do_install_append() {
+# find ${D} -name "*.la" -delete
+#}
+
+PACKAGES =+ "${PN}-bin-dbg ${PN}-helper-dbg ${PN}-ptest-dbg ${PN}-helper-staticdev ${PN}-bin ${PN}-helper ${PN}-helper-dev"
# ODP is primarily shipped as static library plus some API test and samples/
-FILES_${PN}-staticdev += "${datadir}/opendataplane/*.la"
+FILES_${PN}-staticdev += "${libdir}/libodp-linux.a"
+FILES_${PN}-helper-staticdev += "${libdir}/libodphelper-linux.a"
+FILES_${PN}-helper-dev = " \
+ ${includedir}/odp/helper/* \
+ ${libdir}/libodphelper-linux.la \
+ ${libdir}/libodphelper-linux.so \
+ ${libdir}/pkgconfig/libodphelper-linux* \
+"
+FILES_${PN}-bin = " \
+ ${bindir}/* \
+"
+FILES_${PN}-bin-dbg = " \
+ ${bindir}/.debug/* \
+ ${exec_prefix}/src/debug/${PN}/${PV}-${PR}/git/example/* \
+"
+FILES_${PN}-dev = " \
+ ${includedir}/odp.h \
+ ${includedir}/odp_api.h \
+ ${includedir}/odp/api/* \
+ ${libdir}/libodp-linux.la \
+ ${libdir}/libodp-linux.so \
+ ${libdir}/pkgconfig/libodp-linux.* \
+"
+FILES_${PN}-helper += " \
+ ${libdir}/libodphelper-linux.so.* \
+"
+FILES_${PN} += " \
+ ${libdir}/libodp-linux.so.* \
+"
+FILES_${PN}-ptest-dbg = " \
+ ${exec_prefix}/src/debug/${PN}/${PV}-${PR}/git/test/* \
+ ${libdir}/odp/ptest/test/.debug/* \
+"
+FILES_${PN}-helper-dbg = " \
+ ${libdir}/.debug/libodphelper-linux.so* \
+ ${exec_prefix}/src/debug/${PN}/${PV}-${PR}/git/helper/* \
+"
+FILES_${PN}-dbg = " \
+ ${libdir}/.debug/libodp-linux.so* \
+ ${exec_prefix}/src/debug/${PN}/${PV}-${PR}/git/include/* \
+ ${exec_prefix}/src/debug/${PN}/${PV}-${PR}/git/platform/* \
+"
RDEPENDS_${PN} = "bash libcrypto"
-RDEPENDS_${PN}-ptest = "cunit"
+RDEPENDS_${PN}-ptest = "bash cunit"