cloudconnector: simplify recipe for static library

For the moment the cloudconnector is provided only as static library, so
the recipe can be simplified.

https://jira.digi.com/browse/DEL-3523

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2017-01-20 16:14:21 +01:00
parent 87cd5ed437
commit 30162ca76c
2 changed files with 5 additions and 8 deletions

View File

@ -32,7 +32,7 @@ RDEPENDS_${PN} = "\
busybox \
busybox-acpid \
busybox-static-nodes \
cloudconnector-bin \
cloudconnector \
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \
${@bb.utils.contains("MACHINE_FEATURES", "touchscreen", "${VIRTUAL-RUNTIME_touchscreen}", "",d)} \

View File

@ -14,19 +14,16 @@ SRC_URI = "gitsm://git@stash.digi.com/cc/cc_dey.git;protocol=ssh;branch=${SRCBRA
S = "${WORKDIR}/git"
inherit pkgconfig
do_install() {
oe_runmake DESTDIR=${D} install
}
PACKAGES =+ "${PN}-bin ${PN}-cert"
PACKAGES =+ "${PN}-cert"
FILES_${PN}-bin += "${sysconfdir}/cc.conf"
FILES_${PN}-cert = "${sysconfdir}/ssl/certs/Digi_Int-ca-cert-public.crt"
CONFFILES_${PN}-bin += "${sysconfdir}/cc.conf"
DEBIAN_NOAUTONAME_${PN}-bin = "1"
DEBIAN_NOAUTONAME_${PN}-cert = "1"
CONFFILES_${PN} += "${sysconfdir}/cc.conf"
RDEPENDS_${PN} = "${PN}-cert"
RDEPENDS_${PN}-bin = "${PN}-cert"