diff options
author | Manuel Bachmann <mbc@iot.bzh> | 2015-11-13 10:43:14 +0000 |
---|---|---|
committer | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2015-11-16 22:01:48 +0900 |
commit | 6e653d3023cc06ced81e891499f211bfe08a9d40 (patch) | |
tree | f008eb310f4a6ab5a1cd80cdc76028c12a110e4b | |
parent | b9def0a12bd95a62dffed4536deb0d9c7ee5d7da (diff) |
AMB (automotive-message-broker): fix GPSd dependency
We now allow gpsd to build with bluez5 (backport from OE) :
http://lists.openembedded.org/pipermail/openembedded-devel
/2015-November/104602.html
which allows us to re-enable gpsd in AMB.
Plus, we also explicitly build the GPSd plugin.
Change-Id: I21fff0d010ca849a0ff4bd940437bddabae2d218
Signed-off-by: Manuel Bachmann <mbc@iot.bzh>
-rw-r--r-- | meta-agl/recipes-navi-lbs/gpsd/gpsd_%.bbappend | 4 | ||||
-rw-r--r-- | meta-ivi-common/recipes-automotive/automotive-message-broker/automotive-message-broker_git.bb | 13 |
2 files changed, 7 insertions, 10 deletions
diff --git a/meta-agl/recipes-navi-lbs/gpsd/gpsd_%.bbappend b/meta-agl/recipes-navi-lbs/gpsd/gpsd_%.bbappend new file mode 100644 index 000000000..2e97174f3 --- /dev/null +++ b/meta-agl/recipes-navi-lbs/gpsd/gpsd_%.bbappend @@ -0,0 +1,4 @@ +# If Bluetooth is asked in DISTRO_FEATURES, verify if Bluez 5 is also +# explicitly specified. If it is not, fall back to BlueZ 4 +BLUEZ_CONFIG = "bluez='true',bluez='false',${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', bb.utils.contains('DISTRO_FEATURES', 'bluez5', 'bluez5', 'bluez4', d), '', d)}" +PACKAGECONFIG[bluez] := "${BLUEZ_CONFIG}" 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 06926e985..49bb7cae7 100644 --- 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 @@ -9,15 +9,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b42382de5d854b9bb598acf2e8827de3" inherit cmake systemd -# The 'gpsd' leads to a conflict between bluez4 and bluez5 because -# meta-openembedded/meta-oe/recipes-navigation/gpsd/gpsd_3.10.bb is able to -# select bluez4 only instead AGL Distro choose bluez5 at changeset 4141. -# <https://gerrit.automotivelinux.org/gerrit/#/c/4141/> -# -# As temporary treatment, removing 'gpsd' from DEPENDS will let bitbake to build correctly. -# #DEPENDS = "glib-2.0 util-linux sqlite3 qtbase boost json-c libtool gpsd" -DEPENDS = "glib-2.0 util-linux sqlite3 boost json-c libtool" +DEPENDS = "glib-2.0 util-linux sqlite3 boost json-c libtool gpsd" RDEPENDS_${PN} = "python-misc python-json" PV = "0.14+git${SRCPV}" @@ -25,7 +18,7 @@ PV = "0.14+git${SRCPV}" SRC_URI = "git://github.com/CogentEmbedded/automotive-message-broker.git;protocol=https;branch=master" SRCREV = "58569fac42bb8b6e1ad208caef5db8a51befc87f" -# The paches from 0001 to 0009 are from difference between +# The paches from 0001 to 0009 are from difference between # hash:58569fac42bb8b6e1ad208caef5db8a51befc87f(main branch) and # hash:8f761e02172544212915c82b7e8dd8d4dd1281a6(dev_0.14_2) SRC_URI += " \ @@ -51,7 +44,7 @@ S = "${WORKDIR}/git" # compiler selection of yocto. This breaks the build # if icecc is installed on the host. # -> Disable the detection in cmake. -EXTRA_OECMAKE += " -Denable_icecc=OFF" +EXTRA_OECMAKE += " -Denable_icecc=OFF -Dgpsd_plugin=ON" do_install_append() { mv ${D}/usr/include/amb/* ${D}/usr/include |