summaryrefslogtreecommitdiffstats
path: root/meta-app-framework
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-05-15 16:58:47 +0200
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-05-16 04:54:03 +0000
commitefbf8d90317e935611c3fc1832ee2e715999334b (patch)
tree8465d37bb69254a34c9a0a7a68c5ba802f05868d /meta-app-framework
parentf2cbb76e3d640d4318adbf7c5c31c8619968006f (diff)
af-binder: changes the packaging
Create a new package: af-binder-tools that contains 2 tools: - afb-client-demo: the tiny websocket client of the binders - afb-genskel: the code generator for bindings version 2 (DRAFT) Also includes a fix on signal internally used for timers. Change-Id: I7e4241266e5736d3e3b3aeff5efd150821ff1d3c Signed-off-by: José Bollo <jose.bollo@iot.bzh> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/9395 Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Stéphane Desneux <stephane.desneux@iot.bzh> Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-app-framework')
-rw-r--r--meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb20
1 files changed, 13 insertions, 7 deletions
diff --git a/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb b/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb
index 0683f4694..cc475bd70 100644
--- a/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb
+++ b/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb
@@ -15,23 +15,31 @@ SRC_URI = "${SRC_URI_git} \
${SRC_URI_files} \
"
-SRCREV = "ae6f684d830871e81b0b4168424f6a4873eabbff"
+SRCREV = "8abd9262e343aec71e07388bdf829d4f76d6529e"
S = "${WORKDIR}/git"
inherit cmake pkgconfig
-FILES_${PN} += "${datadir}"
-
pkg_postinst_${PN}() {
mkdir -p "$D${libdir}/afb"
}
#############################################
-# setup meta package
+# setup package
#############################################
-PACKAGES += "${PN}-meta"
+PACKAGES += "${PN}-tools ${PN}-meta"
+
+FILES_${PN} += "${datadir}"
+
ALLOW_EMPTY_${PN}-meta = "1"
+FILES_${PN}-tools = "\
+ ${bindir}/afb-client-demo \
+ ${bindir}/afb-genskel \
+"
+
+RDEPENDS_${PN}-dev += "${PN}-tools libafbwsc-dev"
+
#############################################
# setup sample binding packages
#############################################
@@ -64,7 +72,6 @@ FILES_libafbwsc = "\
FILES_libafbwsc-dev = "\
${includedir}/afb/afb-wsj1.h \
${includedir}/afb/afb-ws-client.h \
- ${bindir}/afb-client-demo \
${libdir}/libafbwsc.so \
${libdir}/pkgconfig/libafbwsc.pc \
"
@@ -74,5 +81,4 @@ FILES_libafbwsc-dbg = "\
"
RDEPENDS_libafbwsc-dbg += "${PN}-dbg libafbwsc-dev"
-RDEPENDS_${PN}-dev += "libafbwsc-dev"