mirror of
https://github.com/linux-sunxi/meta-sunxi.git
synced 2024-12-26 04:58:22 +01:00
Load these modules at startup
This commit is contained in:
parent
402fe8557f
commit
329ce1008d
1
recipes-kernel/linux/linux/sata.conf
Normal file
1
recipes-kernel/linux/linux/sata.conf
Normal file
@ -0,0 +1 @@
|
||||
sw_ahci_platform
|
2
recipes-kernel/linux/linux/screen.conf
Normal file
2
recipes-kernel/linux/linux/screen.conf
Normal file
@ -0,0 +1,2 @@
|
||||
lcd
|
||||
hdmi
|
4
recipes-kernel/linux/linux/spdif.conf
Normal file
4
recipes-kernel/linux/linux/spdif.conf
Normal file
@ -0,0 +1,4 @@
|
||||
sndspdif
|
||||
sun4i_sndspdif
|
||||
sun4i_spdif
|
||||
sun4i_spdma
|
1
recipes-kernel/linux/linux/wifi.conf
Normal file
1
recipes-kernel/linux/linux/wifi.conf
Normal file
@ -0,0 +1 @@
|
||||
8192cu
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user