Change linux to use 3.4 branch

This commit is contained in:
Nicolas Aguirre 2013-09-12 08:20:59 +02:00
parent 0d2df1c041
commit 8840d1a82a
2 changed files with 12 additions and 17 deletions

View File

@ -0,0 +1,6 @@
FILESEXTRAPATHS := "${THISDIR}/${PN}"
PRINC := "${@int(PRINC) + 1}"
SRC_URI += "file://tslib.patch"

View File

@ -10,18 +10,13 @@ PR = "9"
PV = "3.0.76" PV = "3.0.76"
# Last tested version by myself" # Last tested version by myself"
SRCREV_pn-${PN} = "274a66a7bfcbaabb88d63e4eba161965383cc416" SRCREV_pn-${PN} = "1e8c5d75335e679f11f9b291be1f3b056f367db9"
MACHINE_KERNEL_PR_append = "a" MACHINE_KERNEL_PR_append = "a"
SRC_URI += "git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.0;protocol=git \ SRC_URI += "git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.4;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://defconfig \
file://screen.conf \
file://spdif.conf \ file://spdif.conf \
file://sata.conf \ file://sata.conf \
file://wifi.conf \ file://wifi.conf \
@ -29,24 +24,18 @@ SRC_URI += "git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.0;protoc
S = "${WORKDIR}/git" 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_package_prepend() {
} }
do_install_append () { do_install_append () {
install -d ${D}${sysconfdir}/modules-load.d install -d ${D}${sysconfdir}/modules-load.d
install -m 0755 ${WORKDIR}/spdif.conf ${D}${sysconfdir}/modules-load.d/screen.conf
install -m 0755 ${WORKDIR}/spdif.conf ${D}${sysconfdir}/modules-load.d/spdif.conf 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}/sata.conf ${D}${sysconfdir}/modules-load.d/sata.conf
install -m 0755 ${WORKDIR}/wifi.conf ${D}${sysconfdir}/modules-load.d/wifi.conf install -m 0755 ${WORKDIR}/wifi.conf ${D}${sysconfdir}/modules-load.d/wifi.conf
} }
addtask copy_aufs after do_unpack before do_patch #addtask copy_aufs after do_unpack before do_patch
INSANE_SKIP_kernel-dev = "debug-files debug-deps" INSANE_SKIP_kernel-dev = "debug-files debug-deps arch"