require linux.inc DESCRIPTION = "Linux kernel for Allwinner a10 processors" KERNEL_IMAGETYPE = "uImage" COMPATIBLE_MACHINE = "(mele|olinuxino-a13|cubieboard)" PR = "8" PV = "3.0.62" # Last tested version by myself" SRCREV_pn-${PN} = "caa11e27c061ed279f6d7e1d85df7d0caa650878" 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://screen.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}/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"