Load these modules at startup

This commit is contained in:
Nicolas Aguirre 2013-03-14 23:06:52 +01:00
parent 402fe8557f
commit 329ce1008d
5 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1 @@
sw_ahci_platform

View File

@ -0,0 +1,2 @@
lcd
hdmi

View File

@ -0,0 +1,4 @@
sndspdif
sun4i_sndspdif
sun4i_spdif
sun4i_spdma

View File

@ -0,0 +1 @@
8192cu

View File

@ -6,7 +6,7 @@ KERNEL_IMAGETYPE = "uImage"
COMPATIBLE_MACHINE = "(mele|olinuxino-a13|cubieboard)"
PR = "6"
PR = "7"
PV = "3.0.62"
# Last tested version by myself"
@ -22,6 +22,10 @@ SRC_URI += "git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.0;protoc
file://fs \
file://aufs_type.h \
file://defconfig \
file://spdif.conf \
file://screen.conf \
file://sata.conf \
file://wifi.conf \
"
S = "${WORKDIR}/git"
@ -37,6 +41,14 @@ do_package_prepend() {
}
do_install_append () {
install -d ${D}${sysconfdir}/modules-load.d
install -m 0755 ${WORKDIR}/spdif.conf ${D}${sysconfdir}/modules-load.d/spdif.conf
install -m 0755 ${WORKDIR}/screen.conf ${D}${sysconfdir}/modules-load.d/screen.conf
install -m 0755 ${WORKDIR}/sata.conf ${D}${sysconfdir}/modules-load.d/sata.conf
install -m 0755 ${WORKDIR}/wifi.conf ${D}${sysconfdir}/modules-load.d/wifi.conf
}
addtask copy_aufs after do_unpack before do_patch
INSANE_SKIP_kernel-dev = "debug-files debug-deps"