From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 3/3] Add ofono package.
Date: Wed, 28 Mar 2012 23:48:04 +0200 [thread overview]
Message-ID: <201203282348.05392.arnout@mind.be> (raw)
In-Reply-To: <1332792756-3381-4-git-send-email-marek.belisko@open-nandra.com>
On Monday 26 March 2012 22:12:36 Marek Belisko wrote:
[snip]
> 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
Missing
depends on BR2_USE_WCHAR # gettext/libglib2
which also means you need a comment in case we don't have WCHAR.
> + helpimplies
> + oFono.org is a place to bring developers together around designing an
> + infrastructure for building mobile telephony (GSM/UMTS) applications.
This doesn't really explain what the package does. Also, a link to a
website is convenient.
> +
> +if BR2_PACKAGE_OFONO
> +
> +config BR2_PACKAGE_OFONO_BLUETOOTH
> + bool "ofono with bluetooth support"
> + select BR2_PACKAGE_BLUEZ_UTILS
> + help
> + Enable bluetooh support.
> +endif
There's some funky whitespace here. Also a type: bluetooh -> bluetooth
> +
> +
No empty lines at the end of the file please.
> 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
Why not use the tar from $(BR2_KERNEL_MIRROR)/linux/network/ofono ?
> +
> +OFONO_DEPENDENCIES = host-pkg-config libglib2 dbus libcap-ng mobile-broadband-provider-info
> +
> +OFONO_CONF_OPT = --disable-test --disable-bluetooth
The --disable-bluetooth should be in the else of the OFONO_BLUETOOTH
option.
> +
> +OFONO_AUTORECONF = YES
Not needed if you use the tar.
> +
> +ifneq ($(BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV),y)
> + OFONO_CONF_OPT += --disable-udev
> +endif
It's better to use --enable-udev explicitly in the positive case, and
you probably need to add udev to DEPENDENCIES anyway.
Also it's more logical to check for BR2_PACKAGE_UDEV.
Regards,
Arnout
> +
> +ifeq ($(BR2_PACKAGE_OFONO_BLUETOOTH),y)
> + OFONO_CONF_OPT += --enable-bluetooth
> + OFONO_DEPENDENCIES += bluez_utils
> +endif
> +
> +$(eval $(call AUTOTARGETS))
> +
>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
next prev parent reply other threads:[~2012-03-28 21:48 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-26 20:12 [Buildroot] [PATCH v2 0/3] Add ofono package + dependency libraries Marek Belisko
2012-03-26 20:12 ` [Buildroot] [PATCH v2 1/3] Add libcap-ng package Marek Belisko
2012-03-26 20:17 ` Yegor Yefremov
2012-03-26 20:21 ` Belisko Marek
2012-03-26 20:28 ` Yegor Yefremov
2012-03-26 20:32 ` Belisko Marek
2012-03-26 20:12 ` [Buildroot] [PATCH v2 2/3] Add mobile-broadband-provider-info package Marek Belisko
2012-03-28 21:34 ` Arnout Vandecappelle
2012-03-26 20:12 ` [Buildroot] [PATCH v2 3/3] Add ofono package Marek Belisko
2012-03-28 21:48 ` Arnout Vandecappelle [this message]
2012-03-31 13:24 ` Belisko Marek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201203282348.05392.arnout@mind.be \
--to=arnout@mind.be \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox