mpc85xx: add input drivers to default packages, and load those during preinit

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35626 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
Gabor Juhos
2013-02-16 17:13:38 +00:00
parent 34e24ed054
commit 5766e4d223
2 changed files with 14 additions and 1 deletions

View File

@@ -17,7 +17,9 @@ LINUX_VERSION:=3.7.8
include $(INCLUDE_DIR)/target.mk
DEFAULT_PACKAGES += kmod-booke-wdt
DEFAULT_PACKAGES += \
kmod-input-core kmod-input-gpio-keys kmod-button-hotplug \
kmod-booke-wdt
define Target/Description
Build images for the Freescale MPC85xx based boards.

View File

@@ -0,0 +1,11 @@
#
# Copyright (C) 2013 OpenWrt.org
#
preinit_mpc85xx_load_input_drivers() {
insmod input-core
insmod gpio_keys
insmod button-hotplug
}
boot_hook_add preinit_main preinit_mpc85xx_load_input_drivers