require linux.inc DESCRIPTION = "Linux kernel for Allwinner a10 processors" KERNEL_IMAGETYPE = "uImage" COMPATIBLE_MACHINE = "(mele|olinuxino-a13|cubieboard)" PR = "9" PV = "3.0.76" # Last tested version by myself" SRCREV_pn-${PN} = "274a66a7bfcbaabb88d63e4eba161965383cc416" MACHINE_KERNEL_PR_append = "a" SRC_URI += "git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.0;protocol=git \ 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 \ file://defconfig \ file://spdif.conf \ file://sata.conf \ file://wifi.conf \ " S = "${WORKDIR}/git" #add AUFS stuff do_copy_aufs () { cp ${WORKDIR}/aufs_type.h ${S}/include/linux cp -a ${WORKDIR}/fs ${S}/ rm -rf ${S}/modules/wifi } 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}/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"