mirror of https://github.com/hak5/openwrt-owl.git
extract the rfkill module to an extra package, only build rfkill module if it is not integrated into the kernel.
SVN-Revision: 14780owl
parent
2b64ecf391
commit
44aa0b5dac
|
@ -786,3 +786,25 @@ endef
|
|||
|
||||
$(eval $(call KernelPackage,textsearch))
|
||||
|
||||
|
||||
define KernelPackage/rfkill
|
||||
SUBMENU:=$(OTHER_MENU)
|
||||
TITLE:=RF switch subsystem support
|
||||
DEPENDS:=@LINUX_2_6 @!LINUX_2_6_21 @!TARGET_rb532 @!TARGET_avr32 @!TARGET_brcm47xx @!TARGET_s3c24xx @!TARGET_ifxmips @!TARGET_atheros @!TARGET_adm5120 @!TARGET_ar7 @!TARGET_ppc40x @!TARGET_ixp4xx @!TARGET_rdc
|
||||
KCONFIG:= \
|
||||
CONFIG_RFKILL \
|
||||
CONFIG_RFKILL_INPUT \
|
||||
CONFIG_RFKILL_LEDS=y
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX) \
|
||||
$(LINUX_DIR)/net/rfkill/rfkill-input.$(LINUX_KMOD_SUFFIX)
|
||||
AUTOLOAD:=$(call AutoLoad,20,rfkill rfkill-input)
|
||||
endef
|
||||
|
||||
define KernelPackage/rfkill/description
|
||||
Say Y here if you want to have control over RF switches
|
||||
found on many WiFi and Bluetooth cards.
|
||||
endef
|
||||
|
||||
$(eval $(call KernelPackage,rfkill))
|
||||
|
||||
|
|
|
@ -576,16 +576,12 @@ $(eval $(call KernelPackage,usb-net-asix))
|
|||
|
||||
|
||||
define KernelPackage/usb-net-hso
|
||||
$(call usbdep,kmod-usb-net @LINUX_2_6 @!LINUX_2_6_21 @!LINUX_2_6_23 @!LINUX_2_6_24 @!LINUX_2_6_25)
|
||||
$(call usbdep,kmod-usb-net @LINUX_2_6 @!LINUX_2_6_21 @!LINUX_2_6_23 @!LINUX_2_6_24 @!LINUX_2_6_25 +!TARGET_rb532||!TARGET_avr32||!TARGET_brcm47xx||!TARGET_s3c24xx||!TARGET_ifxmips||!TARGET_atheros||!TARGET_adm5120||!TARGET_ar7||!TARGET_ppc40x||!TARGET_ixp4xx||!TARGET_rdc:kmod-rfkill)
|
||||
TITLE:=Kernel module for Option USB High Speed Mobile Devices
|
||||
KCONFIG:= \
|
||||
CONFIG_RFKILL \
|
||||
CONFIG_RFKILL_INPUT \
|
||||
CONFIG_USB_HSO
|
||||
KCONFIG:=CONFIG_USB_HSO
|
||||
FILES:= \
|
||||
$(LINUX_DIR)/net/rfkill/rfkill.$(LINUX_KMOD_SUFFIX) \
|
||||
$(LINUX_DIR)/drivers/$(USBNET_DIR)/hso.$(LINUX_KMOD_SUFFIX)
|
||||
AUTOLOAD:=$(call AutoLoad,61,rfkill hso)
|
||||
AUTOLOAD:=$(call AutoLoad,61,hso)
|
||||
endef
|
||||
|
||||
define KernelPackage/usb-net-hso/description
|
||||
|
|
|
@ -396,8 +396,8 @@ MAKE_OPTS:= \
|
|||
CONFIG_MAC80211_LEDS=$(CONFIG_LEDS_TRIGGERS) \
|
||||
CONFIG_MAC80211_DEBUGFS=$(CONFIG_DEBUG_FS) \
|
||||
CONFIG_B43_PCMCIA=$(CONFIG_PCMCIA) \
|
||||
CONFIG_B43_RFKILL=$(CONFIG_RFKILL) \
|
||||
CONFIG_B43LEGACY_RFKILL=$(CONFIG_RFKILL) \
|
||||
$(if $(CONFIG_RFKILL),CONFIG_B43_RFKILL=y) \
|
||||
$(if $(CONFIG_RFKILL),CONFIG_B43LEGACY_RFKILL=y) \
|
||||
CONFIG_B43LEGACY_LEDS=$(CONFIG_LEDS_TRIGGERS) \
|
||||
CONFIG_B43_LEDS=$(CONFIG_LEDS_TRIGGERS) \
|
||||
$(if $(CONFIG_PACKAGE_kmod-b43),CONFIG_B43=m) \
|
||||
|
|
Loading…
Reference in New Issue