meta-digi: Autoload kernel-module-mma7455l with del-examples-accelerometer.

For this the CCIMX51 and CCIMX53 kernels are configured to build the
mma7455l module and it is included as a dependency of the del-examples-
accelerometer application.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2013-02-22 09:44:10 +01:00
parent a6f0aeaefc
commit b4ff11cf9e
6 changed files with 14 additions and 0 deletions

View File

@ -17,5 +17,8 @@ SERIAL_CONSOLE = "38400 ttymxc1"
MACHINE_FIRMWARE = "firmware-imx-vpu-imx51 firmware-imx-sdma-imx51"
MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}"
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-mma7455l \"
module_autoload_mma7455l = "mma7455l"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-module-redpine"

View File

@ -16,5 +16,8 @@ SERIAL_CONSOLE = "115200 ttymxc0"
# Firmware
MACHINE_FIRMWARE = "firmware-imx-vpu-imx53 firmware-imx-sdma-imx53"
MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}"
MACHINE_EXTRA_RRECOMMENDS += "kernel-module-mma7455l \"
module_autoload_mma7455l = "mma7455l"
MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "kernel-module-redpine"

View File

@ -9,8 +9,10 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}_${PV}"
SRCREV_mx5 = "${AUTOREV}"
LOCALVERSION_mx5 = "mx5+master"
KERNEL_CFG_FRAGS_mx5 = "file://config-accel-module.cfg"
SRC_URI = "${DIGI_LOG_GIT}linux-2.6.git;protocol=git;branch=refs/heads/master \
file://defconfig \
${KERNEL_CFG_FRAGS} \
"
# Override 'ccardimx28js' SRC_URI so the 'SRC_URI_append_mxs' patches
# from FSL layer are *not* applied

View File

@ -0,0 +1,2 @@
CONFIG_INPUT_MMA7455L=m

View File

@ -0,0 +1,2 @@
CONFIG_INPUT_MMA7455L=m

View File

@ -5,6 +5,8 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425
PR = "r0"
RDEPENDS_${PN} = "kernel-module-mma7455l"
SRC_URI = "file://accelerometer_test"
inherit update-rc.d