Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Jukka Rissanen <jukka.rissanen@linux.intel.com>
To: "Shakeel, Muhammad" <muhammad_shakeel@mentor.com>
Cc: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] connman: Fix EXTRA_OECONF
Date: Fri, 13 Sep 2013 15:56:00 +0300	[thread overview]
Message-ID: <52330B60.6000008@linux.intel.com> (raw)
In-Reply-To: <1379073002-19032-1-git-send-email-muhammad_shakeel@mentor.com>

Hi Muhammad,

On 13.09.2013 14:50, Shakeel, Muhammad wrote:
> From: Muhammad Shakeel <muhammad_shakeel@mentor.com>
>
> - --enable-threads and --enable-fake are obsolete, unrecognized options
> now.
> - --enable-bluetooth,wifi,ofono just build these technologies as plugins
> and these plugins need to be installed explicitly. Our intention here
> is to make these technologies available by default, if enabled. For
> this we need --enable-bluetooth,wifi,ofono=builtin.
> - If bluetooth is getting disabled then disable dundee as well, which
> is enabled by default.
>
> Signed-off-by: Muhammad Shakeel <muhammad_shakeel@mentor.com>
> ---
>   meta/recipes-connectivity/connman/connman.inc |    8 +++-----
>   1 file changed, 3 insertions(+), 5 deletions(-)
>
> diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
> index 37ce3ec..71ecce2 100644
> --- a/meta/recipes-connectivity/connman/connman.inc
> +++ b/meta/recipes-connectivity/connman/connman.inc
> @@ -21,14 +21,12 @@ EXTRA_OECONF += "\
>       ac_cv_path_WPASUPPLICANT=${sbindir}/wpa_supplicant \
>       ac_cv_path_PPPD=${sbindir}/pppd \
>       --enable-debug \
> -    --enable-threads \
>       --enable-loopback \
>       --enable-ethernet \
>       --enable-tools \
>       --enable-test \
>       --disable-polkit \
>       --enable-client \
> -    --enable-fake \

Ack to this part, those options can be removed.

>       ${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '--with-systemdunitdir=', d)} \
>   "
>
> @@ -42,9 +40,9 @@ PACKAGECONFIG ??= "wispr \
>   # local.conf or distro config
>   # PACKAGECONFIG_append_pn-connman = " openvpn vpnc l2tp pptp"
>
> -PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi, wpa-supplicant"
> -PACKAGECONFIG[bluetooth] = "--enable-bluetooth, --disable-bluetooth, bluez4"
> -PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono"
> +PACKAGECONFIG[wifi] = "--enable-wifi=builtin, --disable-wifi, wpa-supplicant"
> +PACKAGECONFIG[bluetooth] = "--enable-bluetooth=builtin, --disable-bluetooth --disable-dundee, bluez4"
> +PACKAGECONFIG[3g] = "--enable-ofono=builtin, --disable-ofono, ofono"

There is no need to say builtin here as that is the default and those 
plugins are always builtin anyways.

About the dundee disabling, it would probably be better to have this 
check in upstream connman. This would mean that if bluetooth is 
disabled, then dundee would be automatically disabled (tweak 
Makefile.plugins in ConnMan).
Could you send patch for this to connman ml?


>   PACKAGECONFIG[tist] = "--enable-tist,--disable-tist,"
>   PACKAGECONFIG[openvpn] = "--enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn,,openvpn"
>   PACKAGECONFIG[vpnc] = "--enable-vpnc --with-vpnc=${sbindir}/vpnc,--disable-vpnc,,vpnc"
>


Cheers,
Jukka



  reply	other threads:[~2013-09-13 12:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13 11:50 [PATCH] connman: Fix EXTRA_OECONF Shakeel, Muhammad
2013-09-13 12:56 ` Jukka Rissanen [this message]
2013-09-13 14:59   ` Muhammad Shakeel
2013-09-16  7:21     ` Jukka Rissanen

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=52330B60.6000008@linux.intel.com \
    --to=jukka.rissanen@linux.intel.com \
    --cc=muhammad_shakeel@mentor.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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