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-07-09 23:12:55 +02:00
|
|
|
SRCREV_pn-${PN} = "274a66a7bfcbaabb88d63e4eba161965383cc416"
|
2012-10-07 10:37:50 +02:00
|
|
|
|
|
|
|
MACHINE_KERNEL_PR_append = "a"
|
|
|
|
|
2012-11-13 13:15:52 +01:00
|
|
|
SRC_URI += "git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.0;protocol=git \
|
2012-10-17 19:21:01 +02:00
|
|
|
file://0001-aufs3-kbuild.patch \
|
|
|
|
file://0002-aufs3-base.patch \
|
|
|
|
file://0003-aufs3-proc_map.patch \
|
|
|
|
file://0004-aufs3-standalone.patch \
|
|
|
|
file://fs \
|
|
|
|
file://aufs_type.h \
|
2012-10-07 10:37:50 +02:00
|
|
|
file://defconfig \
|
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
|
|
|
|
|
|
|
#add AUFS stuff
|
|
|
|
do_copy_aufs () {
|
|
|
|
cp ${WORKDIR}/aufs_type.h ${S}/include/linux
|
|
|
|
cp -a ${WORKDIR}/fs ${S}/
|
2012-11-13 13:15:52 +01:00
|
|
|
rm -rf ${S}/modules/wifi
|
|
|
|
}
|
|
|
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
2012-10-17 19:21:01 +02:00
|
|
|
addtask copy_aufs after do_unpack before do_patch
|
2012-11-13 13:15:52 +01:00
|
|
|
|
|
|
|
INSANE_SKIP_kernel-dev = "debug-files debug-deps"
|