mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
ofono: Move bluetooth enabling to .inc file
Moving the bluetooth enabling to ofono.inc from .bb file as it makes more sense to have bluetooth always checked. (From OE-Core rev: c7d27f4626f6763ec348c390cc907f30c102f96d) Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
973cfd8bbb
commit
3cf0a5426a
@@ -14,6 +14,7 @@ INITSCRIPT_PARAMS = "defaults 22"
|
|||||||
|
|
||||||
EXTRA_OECONF += "\
|
EXTRA_OECONF += "\
|
||||||
${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '--with-systemdunitdir=', d)} \
|
${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '--with-systemdunitdir=', d)} \
|
||||||
|
${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
|
||||||
"
|
"
|
||||||
SYSTEMD_SERVICE_${PN} = "ofono.service"
|
SYSTEMD_SERVICE_${PN} = "ofono.service"
|
||||||
|
|
||||||
|
|||||||
@@ -14,6 +14,5 @@ SRC_URI[sha256sum] = "733b75bfd1b2a1925b6de532989c496b8ae17a746691120ef64cceb00b
|
|||||||
|
|
||||||
EXTRA_OECONF += "\
|
EXTRA_OECONF += "\
|
||||||
--enable-test \
|
--enable-test \
|
||||||
${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
|
|
||||||
"
|
"
|
||||||
CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE"
|
CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE"
|
||||||
|
|||||||
@@ -8,10 +8,6 @@ PR = "r5"
|
|||||||
SRC_URI = "git://git.kernel.org/pub/scm/network/ofono/ofono.git;protocol=git \
|
SRC_URI = "git://git.kernel.org/pub/scm/network/ofono/ofono.git;protocol=git \
|
||||||
file://ofono"
|
file://ofono"
|
||||||
|
|
||||||
EXTRA_OECONF += "\
|
|
||||||
${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
|
|
||||||
"
|
|
||||||
|
|
||||||
do_configure_prepend () {
|
do_configure_prepend () {
|
||||||
${S}/bootstrap
|
${S}/bootstrap
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user