2012-10-07 10:37:50 +02:00
|
|
|
require linux.inc
|
|
|
|
|
|
|
|
DESCRIPTION = "Linux kernel for Allwinner a10 processors"
|
|
|
|
|
|
|
|
KERNEL_IMAGETYPE = "uImage"
|
|
|
|
|
2013-03-12 16:13:32 +01:00
|
|
|
COMPATIBLE_MACHINE = "(mele|olinuxino-a13|cubieboard)"
|
2012-10-07 10:37:50 +02:00
|
|
|
|
2013-07-09 23:30:47 +02:00
|
|
|
PR = "9"
|
2012-10-08 00:25:39 +02:00
|
|
|
|
2013-07-09 23:12:55 +02:00
|
|
|
PV = "3.0.76"
|
2012-10-07 10:37:50 +02:00
|
|
|
# Last tested version by myself"
|
2013-09-12 08:20:59 +02:00
|
|
|
SRCREV_pn-${PN} = "1e8c5d75335e679f11f9b291be1f3b056f367db9"
|
2012-10-07 10:37:50 +02:00
|
|
|
|
|
|
|
MACHINE_KERNEL_PR_append = "a"
|
|
|
|
|
2013-09-12 08:20:59 +02:00
|
|
|
SRC_URI += "git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.4;protocol=git \
|
2012-10-07 10:37:50 +02:00
|
|
|
file://defconfig \
|
2013-09-12 08:20:59 +02:00
|
|
|
file://screen.conf \
|
2013-03-14 23:06:52 +01:00
|
|
|
file://spdif.conf \
|
|
|
|
file://sata.conf \
|
|
|
|
file://wifi.conf \
|
2012-10-07 10:37:50 +02:00
|
|
|
"
|
|
|
|
|
2012-10-08 00:25:39 +02:00
|
|
|
S = "${WORKDIR}/git"
|
2012-10-17 19:21:01 +02:00
|
|
|
|
2012-11-13 13:15:52 +01:00
|
|
|
do_package_prepend() {
|
|
|
|
|
2012-10-17 19:21:01 +02:00
|
|
|
}
|
|
|
|
|
2013-03-14 23:06:52 +01:00
|
|
|
do_install_append () {
|
|
|
|
install -d ${D}${sysconfdir}/modules-load.d
|
2013-09-12 08:20:59 +02:00
|
|
|
install -m 0755 ${WORKDIR}/spdif.conf ${D}${sysconfdir}/modules-load.d/screen.conf
|
2013-03-14 23:06:52 +01:00
|
|
|
install -m 0755 ${WORKDIR}/spdif.conf ${D}${sysconfdir}/modules-load.d/spdif.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
|
|
|
|
}
|
|
|
|
|
2013-09-12 08:20:59 +02:00
|
|
|
#addtask copy_aufs after do_unpack before do_patch
|
2012-11-13 13:15:52 +01:00
|
|
|
|
2013-09-12 08:20:59 +02:00
|
|
|
INSANE_SKIP_kernel-dev = "debug-files debug-deps arch"
|