Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 1/1] busybox: Add check for wifi/bluetooth to enable rfkill
@ 2012-06-12 15:15 Saul Wold
  2012-06-12 15:29 ` Khem Raj
  2012-06-12 15:35 ` Richard Purdie
  0 siblings, 2 replies; 3+ messages in thread
From: Saul Wold @ 2012-06-12 15:15 UTC (permalink / raw)
  To: openembedded-core

rfkill is a usefull tool when you have a device with bluetooth and wifi enabled

[YOCTO #2494]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-core/busybox/busybox.inc |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index 5b83d32..83b25b4 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -57,6 +57,11 @@ def features_to_busybox_settings(d):
 	busybox_cfg('nls',  distro_features, 'CONFIG_LOCALE_SUPPORT', cnf, rem)
 	busybox_cfg('ipv4', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV4', cnf, rem)
 	busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV6', cnf, rem)
+	busybox_cfg('wifi', distro_features, 'CONFIG_RFKILL', cnf, rem)
+	busybox_cfg('bluetooth', distro_features, 'CONFIG_RFKILL', cnf, rem)
+	machine_features = d.getVar('MACHINE_FEATURES', True).split()
+	busybox_cfg('wifi', machine_features, 'CONFIG_RFKILL', cnf, rem)
+	busybox_cfg('bluetooth', machine_features, 'CONFIG_RFKILL', cnf, rem)
 	return "\n".join(cnf), "\n".join(rem)
 
 # X, Y = ${@features_to_uclibc_settings(d)}
-- 
1.7.7.6




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] busybox: Add check for wifi/bluetooth to enable rfkill
  2012-06-12 15:15 [PATCH 1/1] busybox: Add check for wifi/bluetooth to enable rfkill Saul Wold
@ 2012-06-12 15:29 ` Khem Raj
  2012-06-12 15:35 ` Richard Purdie
  1 sibling, 0 replies; 3+ messages in thread
From: Khem Raj @ 2012-06-12 15:29 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, Jun 12, 2012 at 8:15 AM, Saul Wold <sgw@linux.intel.com> wrote:
> rfkill is a usefull tool when you have a device with bluetooth and wifi enabled
>
> [YOCTO #2494]
>
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/recipes-core/busybox/busybox.inc |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
> index 5b83d32..83b25b4 100644
> --- a/meta/recipes-core/busybox/busybox.inc
> +++ b/meta/recipes-core/busybox/busybox.inc
> @@ -57,6 +57,11 @@ def features_to_busybox_settings(d):
>        busybox_cfg('nls',  distro_features, 'CONFIG_LOCALE_SUPPORT', cnf, rem)
>        busybox_cfg('ipv4', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV4', cnf, rem)
>        busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV6', cnf, rem)
> +       busybox_cfg('wifi', distro_features, 'CONFIG_RFKILL', cnf, rem)
> +       busybox_cfg('bluetooth', distro_features, 'CONFIG_RFKILL', cnf, rem)
> +       machine_features = d.getVar('MACHINE_FEATURES', True).split()
> +       busybox_cfg('wifi', machine_features, 'CONFIG_RFKILL', cnf, rem)
> +       busybox_cfg('bluetooth', machine_features, 'CONFIG_RFKILL', cnf, rem)

Doesnt this mean that it should be made machine specific recipe now ?


>        return "\n".join(cnf), "\n".join(rem)
>
>  # X, Y = ${@features_to_uclibc_settings(d)}
> --
> 1.7.7.6
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] busybox: Add check for wifi/bluetooth to enable rfkill
  2012-06-12 15:15 [PATCH 1/1] busybox: Add check for wifi/bluetooth to enable rfkill Saul Wold
  2012-06-12 15:29 ` Khem Raj
@ 2012-06-12 15:35 ` Richard Purdie
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2012-06-12 15:35 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Tue, 2012-06-12 at 08:15 -0700, Saul Wold wrote:
> rfkill is a usefull tool when you have a device with bluetooth and wifi enabled
> 
> [YOCTO #2494]
> 
> Signed-off-by: Saul Wold <sgw@linux.intel.com>
> ---
>  meta/recipes-core/busybox/busybox.inc |    5 +++++
>  1 files changed, 5 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
> index 5b83d32..83b25b4 100644
> --- a/meta/recipes-core/busybox/busybox.inc
> +++ b/meta/recipes-core/busybox/busybox.inc
> @@ -57,6 +57,11 @@ def features_to_busybox_settings(d):
>  	busybox_cfg('nls',  distro_features, 'CONFIG_LOCALE_SUPPORT', cnf, rem)
>  	busybox_cfg('ipv4', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV4', cnf, rem)
>  	busybox_cfg('ipv6', distro_features, 'CONFIG_FEATURE_IFUPDOWN_IPV6', cnf, rem)
> +	busybox_cfg('wifi', distro_features, 'CONFIG_RFKILL', cnf, rem)
> +	busybox_cfg('bluetooth', distro_features, 'CONFIG_RFKILL', cnf, rem)
> +	machine_features = d.getVar('MACHINE_FEATURES', True).split()
> +	busybox_cfg('wifi', machine_features, 'CONFIG_RFKILL', cnf, rem)
> +	busybox_cfg('bluetooth', machine_features, 'CONFIG_RFKILL', cnf, rem)
>  	return "\n".join(cnf), "\n".join(rem)
>  
>  # X, Y = ${@features_to_uclibc_settings(d)}

This makes the busybox package machine specific? Is that intentional?

Cheers,

Richard






^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-06-12 15:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-12 15:15 [PATCH 1/1] busybox: Add check for wifi/bluetooth to enable rfkill Saul Wold
2012-06-12 15:29 ` Khem Raj
2012-06-12 15:35 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox