From patchwork Sun Apr 1 13:58:49 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 149922 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id 27CEDB6ED0 for ; Sun, 1 Apr 2012 23:59:36 +1000 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id BBDDD8BC0B; Sun, 1 Apr 2012 13:59:30 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id P+JuKt0Lig+m; Sun, 1 Apr 2012 13:59:23 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id D99408B789; Sun, 1 Apr 2012 13:59:19 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id 797318F753 for ; Sun, 1 Apr 2012 13:59:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 6E1AEFF96A for ; Sun, 1 Apr 2012 13:59:01 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kO6V-1VrhkvH for ; Sun, 1 Apr 2012 13:58:59 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-we0-f174.google.com (mail-we0-f174.google.com [74.125.82.174]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 6723C100C52 for ; Sun, 1 Apr 2012 13:58:59 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id x9so1654648wej.33 for ; Sun, 01 Apr 2012 06:58:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=BQaPH5e9jYLLa1qNld3s5/v4Ue/kns76siIMO4dusuk=; b=NAuXZjU9kRC9t8efFZUzo5aB2vNoXCyPWvDsMrZVNp164e7IEP4Yx5TpNnHz0aYBJn fr8DyIXwcgiZCuCG5TREjvy0Z1WE6I0tLViMMzV8ZQm3XvSZoAD7y3eliBWnVwF2YiBL ZoZfD1+rYEdPnD3V0Ki6EV44f2NoaYim5RpSVOSuz3gYEAn20fCkM5TxrZcp+cai40+E DCk3avV/J/PvnkpvZAPH5Zw2nO1STPPEXuaMJN8dxJBFttrHGQqyQ44KL/4PxedObXRn xFkID1tOtfiGdF1G+P1n5hxafdbK4kwz88BA6wR0VgW5SaqCkrAxmDN29WtI9GRzZGql bsvQ== Received: by 10.180.101.136 with SMTP id fg8mr16167861wib.4.1333288739099; Sun, 01 Apr 2012 06:58:59 -0700 (PDT) Received: from localhost.localdomain ([178.143.117.169]) by mx.google.com with ESMTPS id e6sm25372505wix.8.2012.04.01.06.58.57 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 01 Apr 2012 06:58:58 -0700 (PDT) From: Marek Belisko To: buildroot@uclibc.org Date: Sun, 1 Apr 2012 15:58:49 +0200 Message-Id: <1333288729-22138-4-git-send-email-marek.belisko@open-nandra.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1333288729-22138-1-git-send-email-marek.belisko@open-nandra.com> References: <1333288729-22138-1-git-send-email-marek.belisko@open-nandra.com> Cc: Marek Belisko Subject: [Buildroot] [PATCH v3 3/3] Add ofono package. X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net Signed-off-by: Marek Belisko --- package/Config.in | 1 + package/ofono/Config.in | 23 +++++++++++++++++++++++ package/ofono/ofono.mk | 30 ++++++++++++++++++++++++++++++ 3 files changed, 54 insertions(+), 0 deletions(-) create mode 100644 package/ofono/Config.in create mode 100644 package/ofono/ofono.mk diff --git a/package/Config.in b/package/Config.in index cd41eb9..4dfbce4 100644 --- a/package/Config.in +++ b/package/Config.in @@ -201,6 +201,7 @@ source "package/memtester/Config.in" source "package/minicom/Config.in" source "package/mtd/Config.in" source "package/ntfs-3g/Config.in" +source "package/ofono/Config.in" source "package/open2300/Config.in" source "package/openocd/Config.in" source "package/parted/Config.in" diff --git a/package/ofono/Config.in b/package/ofono/Config.in new file mode 100644 index 0000000..437e860 --- /dev/null +++ b/package/ofono/Config.in @@ -0,0 +1,23 @@ +config BR2_PACKAGE_OFONO + bool "ofono" + depends on BR2_USE_WCHAR # gettext/libglib2 + select BR2_PACKAGE_LIBCAP_NG + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO + help + oFono is a free, open source project for mobile telephony + (GSM/UMTS) applications. It uses high-level D-Bus API for + use by telephony applications. It uses 3GPP standard. + +if BR2_PACKAGE_OFONO + +config BR2_PACKAGE_OFONO_BLUETOOTH + bool "ofono with bluetooth support" + select BR2_PACKAGE_BLUEZ_UTILS + help + Enable bluetooth support. +endif + +comment "ofono requires a toolchain with WCHAR and C++ support" + depends on !BR2_USE_WCHAR diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk new file mode 100644 index 0000000..7e35866 --- /dev/null +++ b/package/ofono/ofono.mk @@ -0,0 +1,30 @@ +############################################################# +# +# ofono +# +############################################################# +OFONO_VERSION = 1.5 +OFONO_SITE = $(BR2_KERNEL_MIRROR)/linux/network/ofono + +OFONO_DEPENDENCIES = host-pkg-config libglib2 dbus libcap-ng mobile-broadband-provider-info + +OFONO_CONF_OPT = --disable-test + +OFONO_AUTORECONF = YES + +ifeq ($(BR2_PACKAGE_UDEV),y) + OFONO_CONF_OPT += --enable-udev + OFONO_DEPENDENCIES += udev +else + OFONO_CONF_OPT += --disable-udev +endif + +ifeq ($(BR2_PACKAGE_OFONO_BLUETOOTH),y) + OFONO_CONF_OPT += --enable-bluetooth + OFONO_DEPENDENCIES += bluez_utils +else + OFONO_CONF_OPT += --disable-bluetooth +endif + +$(eval $(call AUTOTARGETS)) +