Code Review
/
AGL
/
meta-agl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
AMB (automotive-message-broker): enable gpsnmea plugin
[AGL/meta-agl.git]
/
meta-ivi-common
/
recipes-automotive
/
automotive-message-broker
/
automotive-message-broker_git.bb
diff --git
a/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb
b/meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb
index
4873f12
..
2894b2c
100644
(file)
--- a/
meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb
+++ b/
meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb
@@
-16,7
+16,7
@@
RDEPENDS_${PN} = "python-misc python-json"
PACKAGECONFIG ??= " use_gps \
${@bb.utils.contains('BBFILE_COLLECTIONS','qt5-layer','use_qt5','', d)} \
"
PACKAGECONFIG ??= " use_gps \
${@bb.utils.contains('BBFILE_COLLECTIONS','qt5-layer','use_qt5','', d)} \
"
-PACKAGECONFIG[use_gps] = "-Dgps
d_plugins=On,,gpsd
"
+PACKAGECONFIG[use_gps] = "-Dgps
nmea_plugin=On
"
PACKAGECONFIG[use_qt5] = "-Dqtmainloop=On -Dqt_bindings=On,,qtbase qtdeclarative"
SYSTEMD_PACKAGES = "${PN}"
PACKAGECONFIG[use_qt5] = "-Dqtmainloop=On -Dqt_bindings=On,,qtbase qtdeclarative"
SYSTEMD_PACKAGES = "${PN}"
@@
-33,6
+33,10
@@
do_install_append() {
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/ambd.service ${D}${systemd_unitdir}/system
install -d ${D}${systemd_unitdir}/system/
install -m 0644 ${WORKDIR}/ambd.service ${D}${systemd_unitdir}/system
+
+ if [ "${@bb.utils.contains('PACKAGECONFIG', 'use_gps', 'use_gps', '', d)}" = "use_gps" ]; then
+ install -m 0644 ${WORKDIR}/gps ${D}/${sysconfdir}/ambd/plugins.d
+ fi
}
FILES_${PN} += " ${systemd_unitdir}/ambd.service \
}
FILES_${PN} += " ${systemd_unitdir}/ambd.service \