]> code.ossystems Code Review - openembedded-core.git/commitdiff
busybox: Add check for wifi/bluetooth to enable rfkill
authorSaul Wold <sgw@linux.intel.com>
Wed, 6 Jun 2012 07:27:14 +0000 (00:27 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 15 Jun 2012 14:09:17 +0000 (15:09 +0100)
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

index 5b83d32fc121ccb100ca0b84483f4cb0e828ed03..db337ad6aba99ea526ae5af0208b9adb208d7ea9 100644 (file)
@@ -57,6 +57,8 @@ 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)
        return "\n".join(cnf), "\n".join(rem)
 
 # X, Y = ${@features_to_uclibc_settings(d)}