From cec6dce6e80cd747fc37c5f4ca69dc868233ae52 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Thu, 28 Jul 2011 21:42:44 +0200 Subject: realize rfkill as module --- mk/modules.mk | 3 +++ target/linux/config/Config.in.misc | 3 --- target/linux/config/Config.in.netdevice | 5 ++++- target/linux/config/Config.in.usb | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/mk/modules.mk b/mk/modules.mk index 73ecb707c..c429f114e 100644 --- a/mk/modules.mk +++ b/mk/modules.mk @@ -62,6 +62,9 @@ $(eval $(call KMOD_template,R8169,r8169,\ # # Wireless network devices # +$(eval $(call KMOD_template,RFKILL,rfkill,\ + $(MODULES_DIR)/kernel/net/rfkill/rfkill \ +,10)) $(eval $(call KMOD_template,MAC80211,mac80211,\ $(MODULES_DIR)/kernel/net/wireless/cfg80211 \ diff --git a/target/linux/config/Config.in.misc b/target/linux/config/Config.in.misc index b910eeec5..a351fa59b 100644 --- a/target/linux/config/Config.in.misc +++ b/target/linux/config/Config.in.misc @@ -1,6 +1,3 @@ -config ADK_KERNEL_RFKILL - boolean - config ADK_KERNEL_I2C boolean diff --git a/target/linux/config/Config.in.netdevice b/target/linux/config/Config.in.netdevice index a6251a71d..edd991f97 100644 --- a/target/linux/config/Config.in.netdevice +++ b/target/linux/config/Config.in.netdevice @@ -249,6 +249,9 @@ config ADK_KERNEL_WIRELESS config ADK_KERNEL_WIRELESS_EXT boolean +config ADK_KPACKAGE_KMOD_RFKILL + tristate + config ADK_KERNEL_MAC80211_LEDS boolean select ADK_KPACKAGE_KMOD_LEDS_CLASS @@ -293,7 +296,6 @@ config ADK_KERNEL_MAC80211_DEBUGFS config ADK_KPACKAGE_KMOD_MAC80211 tristate - select ADK_KERNEL_RFKILL select ADK_KERNEL_WIRELESS select ADK_KERNEL_WLAN_80211 select ADK_KERNEL_MOD_CFG80211 @@ -301,6 +303,7 @@ config ADK_KPACKAGE_KMOD_MAC80211 select ADK_KPACKAGE_KMOD_CRYPTO_AES select ADK_KPACKAGE_KMOD_CRYPTO_ECB select ADK_KPACKAGE_KMOD_CRYPTO_ARC4 + select ADK_KPACKAGE_KMOD_RFKILL config ADK_DEBUG_MAC80211 boolean diff --git a/target/linux/config/Config.in.usb b/target/linux/config/Config.in.usb index 6d1108953..2bc8d73db 100644 --- a/target/linux/config/Config.in.usb +++ b/target/linux/config/Config.in.usb @@ -200,7 +200,7 @@ config ADK_KPACKAGE_KMOD_USB_PEGASUS config ADK_KPACKAGE_KMOD_USB_HSO prompt "kmod-usb-hso...................... Support for USB HSO devices" tristate - select ADK_KERNEL_RFKILL + select ADK_KPACKAGE_KMOD_RFKILL select ADK_KPACKAGE_KMOD_USB_STORAGE default n depends on ADK_PACKAGE_KMOD_USB_CONTROLLER -- cgit v1.2.3