From patchwork Mon Mar 26 20:12:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Belisko X-Patchwork-Id: 148829 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (fraxinus.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 999F7B6EE8 for ; Tue, 27 Mar 2012 07:13:18 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id C416E100EB5; Mon, 26 Mar 2012 20:13:17 +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 103R+uWvuBbN; Mon, 26 Mar 2012 20:13:12 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 746E310111E; Mon, 26 Mar 2012 20:13:05 +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 CE4F58F753 for ; Mon, 26 Mar 2012 20:12:57 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id BAB6E100B8A for ; Mon, 26 Mar 2012 20:12:57 +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 s-8FOekO4Ftn for ; Mon, 26 Mar 2012 20:12:55 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wg0-f52.google.com (mail-wg0-f52.google.com [74.125.82.52]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 6DA9710032C for ; Mon, 26 Mar 2012 20:12:53 +0000 (UTC) Received: by wgbgn7 with SMTP id gn7so3918341wgb.21 for ; Mon, 26 Mar 2012 13:12:51 -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=ViarMsufKUrrknw6BetOLvTXRhqQA6HHwosr28srPsE=; b=CeaW4Xr1VE7k6t3eefG96FGVLmldiL8U6rVq6cvwuuUNEi06au6T9CFX8wqeUbS9gg 30oIXvucNAZgtR7hlN2xsGt6NIzYz2aVMJXdAbB1XgLPZwP2pXpkJEu3r14ELwzEVTR7 Wiy9fW1em7iI8PZb79r+YgbGLz14KBeUsJJ1CeJz7306fjcUfzw+wH3iY1zZLCGliF0X /v0bOdlXd2BS5WliNgtXJazUQsKa18ceARwIMFKWzzlR1dlE0qFGoXiEDPF4y5u8vx6n NQxYPXsaFs/oo5m7oUklSjxF8zzkBrrSSehhDj6kxXVhNgzVOA6T4gw1mGcdvGEpnlAD JjHw== Received: by 10.180.102.101 with SMTP id fn5mr21350471wib.6.1332792771603; Mon, 26 Mar 2012 13:12:51 -0700 (PDT) Received: from localhost.localdomain ([178.143.117.169]) by mx.google.com with ESMTPS id gg2sm71168442wib.7.2012.03.26.13.12.50 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 26 Mar 2012 13:12:50 -0700 (PDT) From: Marek Belisko To: buildroot@uclibc.org Date: Mon, 26 Mar 2012 22:12:36 +0200 Message-Id: <1332792756-3381-4-git-send-email-marek.belisko@open-nandra.com> X-Mailer: git-send-email 1.7.5.4 In-Reply-To: <1332792756-3381-1-git-send-email-marek.belisko@open-nandra.com> References: <1332792756-3381-1-git-send-email-marek.belisko@open-nandra.com> Cc: Marek Belisko Subject: [Buildroot] [PATCH v2 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 | 20 ++++++++++++++++++++ package/ofono/ofono.mk | 25 +++++++++++++++++++++++++ 3 files changed, 46 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..b10e42d --- /dev/null +++ b/package/ofono/Config.in @@ -0,0 +1,20 @@ +config BR2_PACKAGE_OFONO + bool "ofono" + select BR2_PACKAGE_LIBCAP_NG + select BR2_PACKAGE_DBUS + select BR2_PACKAGE_LIBGLIB2 + select BR2_PACKAGE_MOBILE_BROADBAND_PROVIDER_INFO + help + oFono.org is a place to bring developers together around designing an + infrastructure for building mobile telephony (GSM/UMTS) applications. + +if BR2_PACKAGE_OFONO + +config BR2_PACKAGE_OFONO_BLUETOOTH + bool "ofono with bluetooth support" + select BR2_PACKAGE_BLUEZ_UTILS + help + Enable bluetooh support. +endif + + diff --git a/package/ofono/ofono.mk b/package/ofono/ofono.mk new file mode 100644 index 0000000..e408a61 --- /dev/null +++ b/package/ofono/ofono.mk @@ -0,0 +1,25 @@ +############################################################# +# +# ofono +# +############################################################# +OFONO_VERSION = 1.5 +OFONO_SITE = git://git.kernel.org/pub/scm/network/ofono/ofono.git + +OFONO_DEPENDENCIES = host-pkg-config libglib2 dbus libcap-ng mobile-broadband-provider-info + +OFONO_CONF_OPT = --disable-test --disable-bluetooth + +OFONO_AUTORECONF = YES + +ifneq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),y) + OFONO_CONF_OPT += --disable-udev +endif + +ifeq ($(BR2_PACKAGE_OFONO_BLUETOOTH),y) + OFONO_CONF_OPT += --enable-bluetooth + OFONO_DEPENDENCIES += bluez_utils +endif + +$(eval $(call AUTOTARGETS)) +