From patchwork Tue Jun 12 15:15:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1] busybox: Add check for wifi/bluetooth to enable rfkill Date: Tue, 12 Jun 2012 15:15:26 -0000 From: Saul Wold X-Patchwork-Id: 29707 Message-Id: <1339514126-23855-1-git-send-email-sgw@linux.intel.com> To: openembedded-core@lists.openembedded.org rfkill is a usefull tool when you have a device with bluetooth and wifi enabled [YOCTO #2494] Signed-off-by: Saul Wold --- 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)}