mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@26c91a9
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OFONO_VERSION = 1.29
|
||||
OFONO_VERSION = 1.31
|
||||
OFONO_SOURCE = ofono-$(OFONO_VERSION).tar.xz
|
||||
OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono
|
||||
OFONO_LICENSE = GPL-2.0
|
||||
@@ -12,11 +12,13 @@ OFONO_LICENSE_FILES = COPYING
|
||||
OFONO_DEPENDENCIES = \
|
||||
host-pkgconf \
|
||||
dbus \
|
||||
libglib2 \
|
||||
ell \
|
||||
libcap-ng \
|
||||
libglib2 \
|
||||
mobile-broadband-provider-info
|
||||
|
||||
OFONO_CONF_OPTS = \
|
||||
--enable-external-ell \
|
||||
--disable-test \
|
||||
--with-dbusconfdir=/etc \
|
||||
$(if $(BR2_INIT_SYSTEMD),--with-systemdunitdir=/usr/lib/systemd/system)
|
||||
@@ -29,12 +31,6 @@ define OFONO_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -m 0755 -D package/ofono/S46ofono $(TARGET_DIR)/etc/init.d/S46ofono
|
||||
endef
|
||||
|
||||
define OFONO_INSTALL_INIT_SYSTEMD
|
||||
mkdir -p $(TARGET_DIR)/etc/systemd/systemd/multi-user.target.wants
|
||||
ln -fs ../../../../usr/lib/systemd/system/ofono.service \
|
||||
$(TARGET_DIR)/etc/systemd/system/multi-user.target.wants
|
||||
endef
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
OFONO_CONF_OPTS += --enable-udev
|
||||
OFONO_DEPENDENCIES += udev
|
||||
@@ -42,14 +38,11 @@ else
|
||||
OFONO_CONF_OPTS += --disable-udev
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
|
||||
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
|
||||
OFONO_CONF_OPTS += --enable-bluetooth
|
||||
OFONO_DEPENDENCIES += bluez_utils
|
||||
OFONO_DEPENDENCIES += bluez5_utils
|
||||
else
|
||||
OFONO_CONF_OPTS += --disable-bluetooth
|
||||
endif
|
||||
|
||||
# required by 0003-build-Add-check-for-explicit_bzero-support.patch
|
||||
OFONO_AUTORECONF = YES
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user