/
ofono_git.bbappend
33 lines (26 loc) · 1.15 KB
/
ofono_git.bbappend
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
# Beware, upgrading to 1.19 breaks ofono at least on hammerhead
# SRCREV = "ca1d06c37a90fe4a1ccd95ee965030a6afd98b60"
# PV = "1.19+gitr${SRCPV}"
SRCREV = "403f29320c68ead8b93ca422b1c3c509f8bff482"
PV = "1.17+gitr${SRCPV}"
RDEPENDS_${PN} += "mobile-broadband-provider-info ofono-conf"
SRC_URI = " \
git://git.merproject.org/mer-core/ofono.git;protocol=git;branch=master \
file://0001-Enable-the-various-modem-plugins-we-support-again.patch;striplevel=2 \
file://0002-Add-support-for-the-Ericsson-F5521gw-modem.patch;striplevel=2 \
file://ofono \
file://ofono.service \
file://Revert-test-Convert-to-Python-3.patch \
file://Revert-test-Convert-to-Python-3-VoiceCall.patch \
"
S = "${WORKDIR}/git/ofono"
# Can't build out of tree right now so we have to build in tree
B = "${S}"
EXTRA_OECONF_append = " --disable-pushforwarder"
do_install_append() {
# Override default system service configuration
cp -v ${WORKDIR}/ofono.service ${D}${systemd_unitdir}/system/ofono.service
}
# meta-systemd sets this to disable but we as distro want it to be enabled by default
SYSTEMD_AUTO_ENABLE_forcevariable = "enable"