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:
parent
87cd5ed437
commit
30162ca76c
|
|
@ -32,7 +32,7 @@ RDEPENDS_${PN} = "\
|
||||||
busybox \
|
busybox \
|
||||||
busybox-acpid \
|
busybox-acpid \
|
||||||
busybox-static-nodes \
|
busybox-static-nodes \
|
||||||
cloudconnector-bin \
|
cloudconnector \
|
||||||
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
|
${@bb.utils.contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \
|
||||||
${@bb.utils.contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \
|
${@bb.utils.contains("MACHINE_FEATURES", "rtc", "busybox-hwclock", "", d)} \
|
||||||
${@bb.utils.contains("MACHINE_FEATURES", "touchscreen", "${VIRTUAL-RUNTIME_touchscreen}", "",d)} \
|
${@bb.utils.contains("MACHINE_FEATURES", "touchscreen", "${VIRTUAL-RUNTIME_touchscreen}", "",d)} \
|
||||||
|
|
|
||||||
|
|
@ -14,19 +14,16 @@ SRC_URI = "gitsm://git@stash.digi.com/cc/cc_dey.git;protocol=ssh;branch=${SRCBRA
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
|
inherit pkgconfig
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
oe_runmake DESTDIR=${D} 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"
|
FILES_${PN}-cert = "${sysconfdir}/ssl/certs/Digi_Int-ca-cert-public.crt"
|
||||||
|
|
||||||
CONFFILES_${PN}-bin += "${sysconfdir}/cc.conf"
|
CONFFILES_${PN} += "${sysconfdir}/cc.conf"
|
||||||
|
|
||||||
DEBIAN_NOAUTONAME_${PN}-bin = "1"
|
|
||||||
DEBIAN_NOAUTONAME_${PN}-cert = "1"
|
|
||||||
|
|
||||||
RDEPENDS_${PN} = "${PN}-cert"
|
RDEPENDS_${PN} = "${PN}-cert"
|
||||||
RDEPENDS_${PN}-bin = "${PN}-cert"
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue