mirror of
https://github.com/openwrt/openwrt.git
synced 2025-02-22 10:01:03 +00:00
modules: make all led and button modules used during boot priority 1
This makes sure the modules are symlinked in /etc/modules-boot.d/ Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 36892
This commit is contained in:
parent
5e45a68a4a
commit
dff1529d2a
@ -42,7 +42,7 @@ define KernelPackage/input-core
|
|||||||
TITLE:=Input device core
|
TITLE:=Input device core
|
||||||
KCONFIG:=CONFIG_INPUT
|
KCONFIG:=CONFIG_INPUT
|
||||||
FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
|
FILES:=$(LINUX_DIR)/drivers/input/input-core.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,19,input-core)
|
AUTOLOAD:=$(call AutoLoad,19,input-core,1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/input-core/description
|
define KernelPackage/input-core/description
|
||||||
@ -76,7 +76,7 @@ define KernelPackage/input-gpio-buttons
|
|||||||
CONFIG_INPUT_GPIO_BUTTONS \
|
CONFIG_INPUT_GPIO_BUTTONS \
|
||||||
CONFIG_INPUT_MISC=y
|
CONFIG_INPUT_MISC=y
|
||||||
FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
|
FILES:=$(LINUX_DIR)/drivers/input/misc/gpio_buttons.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,62,gpio_buttons)
|
AUTOLOAD:=$(call AutoLoad,62,gpio_buttons,1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/input-gpio-buttons/description
|
define KernelPackage/input-gpio-buttons/description
|
||||||
@ -114,7 +114,7 @@ define KernelPackage/input-gpio-keys-polled
|
|||||||
CONFIG_KEYBOARD_GPIO_POLLED \
|
CONFIG_KEYBOARD_GPIO_POLLED \
|
||||||
CONFIG_INPUT_KEYBOARD=y
|
CONFIG_INPUT_KEYBOARD=y
|
||||||
FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko
|
FILES:=$(LINUX_DIR)/drivers/input/keyboard/gpio_keys_polled.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,62,gpio_keys_polled)
|
AUTOLOAD:=$(call AutoLoad,62,gpio_keys_polled,1)
|
||||||
$(call AddDepends/input)
|
$(call AddDepends/input)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -162,7 +162,7 @@ define KernelPackage/input-polldev
|
|||||||
TITLE:=Polled Input device support
|
TITLE:=Polled Input device support
|
||||||
KCONFIG:=CONFIG_INPUT_POLLDEV
|
KCONFIG:=CONFIG_INPUT_POLLDEV
|
||||||
FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
|
FILES:=$(LINUX_DIR)/drivers/input/input-polldev.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,20,input-polldev)
|
AUTOLOAD:=$(call AutoLoad,20,input-polldev,1)
|
||||||
$(call AddDepends/input)
|
$(call AddDepends/input)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ define KernelPackage/leds-gpio
|
|||||||
DEPENDS:= @GPIO_SUPPORT
|
DEPENDS:= @GPIO_SUPPORT
|
||||||
KCONFIG:=CONFIG_LEDS_GPIO
|
KCONFIG:=CONFIG_LEDS_GPIO
|
||||||
FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.ko
|
FILES:=$(LINUX_DIR)/drivers/leds/leds-gpio.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,60,leds-gpio)
|
AUTOLOAD:=$(call AutoLoad,60,leds-gpio,1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/leds-gpio/description
|
define KernelPackage/leds-gpio/description
|
||||||
@ -126,7 +126,7 @@ define KernelPackage/ledtrig-default-on
|
|||||||
TITLE:=LED Default ON Trigger
|
TITLE:=LED Default ON Trigger
|
||||||
KCONFIG:=CONFIG_LEDS_TRIGGER_DEFAULT_ON
|
KCONFIG:=CONFIG_LEDS_TRIGGER_DEFAULT_ON
|
||||||
FILES:=$(LINUX_DIR)/drivers/leds/$(if $(call kernel_patchver_ge,3.10),trigger/)ledtrig-default-on.ko
|
FILES:=$(LINUX_DIR)/drivers/leds/$(if $(call kernel_patchver_ge,3.10),trigger/)ledtrig-default-on.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,50,ledtrig-default-on)
|
AUTOLOAD:=$(call AutoLoad,50,ledtrig-default-on,1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ledtrig-default-on/description
|
define KernelPackage/ledtrig-default-on/description
|
||||||
@ -141,7 +141,7 @@ define KernelPackage/ledtrig-timer
|
|||||||
TITLE:=LED Timer Trigger
|
TITLE:=LED Timer Trigger
|
||||||
KCONFIG:=CONFIG_LEDS_TRIGGER_TIMER
|
KCONFIG:=CONFIG_LEDS_TRIGGER_TIMER
|
||||||
FILES:=$(LINUX_DIR)/drivers/leds/$(if $(call kernel_patchver_ge,3.10),trigger/)ledtrig-timer.ko
|
FILES:=$(LINUX_DIR)/drivers/leds/$(if $(call kernel_patchver_ge,3.10),trigger/)ledtrig-timer.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,50,ledtrig-timer)
|
AUTOLOAD:=$(call AutoLoad,50,ledtrig-timer,1)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define KernelPackage/ledtrig-timer/description
|
define KernelPackage/ledtrig-timer/description
|
||||||
|
@ -17,7 +17,7 @@ define KernelPackage/button-hotplug
|
|||||||
SUBMENU:=Other modules
|
SUBMENU:=Other modules
|
||||||
TITLE:=Button Hotplug driver
|
TITLE:=Button Hotplug driver
|
||||||
FILES:=$(PKG_BUILD_DIR)/button-hotplug.ko
|
FILES:=$(PKG_BUILD_DIR)/button-hotplug.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,30,button-hotplug)
|
AUTOLOAD:=$(call AutoLoad,30,button-hotplug,1)
|
||||||
KCONFIG:=
|
KCONFIG:=
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@ define KernelPackage/gpio-button-hotplug
|
|||||||
SUBMENU:=Other modules
|
SUBMENU:=Other modules
|
||||||
TITLE:=Simple GPIO Button Hotplug driver
|
TITLE:=Simple GPIO Button Hotplug driver
|
||||||
FILES:=$(PKG_BUILD_DIR)/gpio-button-hotplug.ko
|
FILES:=$(PKG_BUILD_DIR)/gpio-button-hotplug.ko
|
||||||
AUTOLOAD:=$(call AutoLoad,30,gpio-button-hotplug)
|
AUTOLOAD:=$(call AutoLoad,30,gpio-button-hotplug,1)
|
||||||
KCONFIG:=
|
KCONFIG:=
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user