diff options
author | Max Krummenacher <max.krummenacher@toradex.com> | 2012-12-18 09:13:28 +0100 |
---|---|---|
committer | Max Krummenacher <max.krummenacher@toradex.com> | 2012-12-18 09:13:28 +0100 |
commit | 23a1000b08c767aef23c6f110da9ab604756fa60 (patch) | |
tree | fc0f53dbd0146e547f48e4ae5da66f64788f810d /recipes-kernel | |
parent | ad2952e612289d8fddad13f2818dff63ea6aee86 (diff) |
kernel: update to latest on git.toradex.com
Diffstat (limited to 'recipes-kernel')
-rw-r--r-- | recipes-kernel/linux/linux-colibri-t20_git.bb | 17 | ||||
-rw-r--r-- | recipes-kernel/linux/linux-colibri-t30_git.bb | 27 |
2 files changed, 32 insertions, 12 deletions
diff --git a/recipes-kernel/linux/linux-colibri-t20_git.bb b/recipes-kernel/linux/linux-colibri-t20_git.bb index 66c5f94..8612025 100644 --- a/recipes-kernel/linux/linux-colibri-t20_git.bb +++ b/recipes-kernel/linux/linux-colibri-t20_git.bb @@ -3,14 +3,11 @@ require recipes-kernel/linux/linux.inc LINUX_VERSION ?= "3.1.10" -SRCREV = "01451bf9a6ac778b401173b341adb1e32688e73f" +SRCREV_colibri-t20 = "8ff26794f73da3caf815f348a03509f533b32ec2" +PR_colibri-t20 = "V2.0b1" PV = "${LINUX_VERSION}+gitr${SRCREV}" -PR = "V2.0a2" S = "${WORKDIR}/git" -#SRC_URI = "\ -# git://gitorious.org/colibri-t20-embedded-linux-bsp/colibri_t20-linux-kernel.git;protocol=git;branch=master \ -# file://bcm4329_warning.patch " SRC_URI = "git://git.toradex.com/linux-toradex.git;protocol=git;branch=colibri" COMPATIBLE_MACHINE = "colibri-t20" @@ -18,11 +15,7 @@ COMPATIBLE_MACHINE = "colibri-t20" CMDLINE="mem=148M@0M fbmem=12M@148M nvmem=96M@160M vmalloc=248M video=tegrafb root=/dev/nfs ip=:::::eth0:on rw netdevwait mtdparts=tegra_nand:1018368K@28160K(userspace) console=ttyS0,115200n8 usb_high_speed=0" do_configure_prepend_colibri-t20() { - #use the defconfig provided in the kernel source tree - install -m 0644 ${S}/arch/arm/configs/colibri_t20_defconfig ${WORKDIR}/defconfig - - #compile with -mno-unaligned-access, with 4.7 compiler the kernel fails - echo "KBUILD_CFLAGS += -mno-unaligned-access" >> ${S}/Makefile + #use the defconfig provided in the kernel source tree + DEFCONFIG=`echo ${MACHINE} | sed -e 's/\-/\_/g' -e 's/$/_defconfig/'` + oe_runmake $DEFCONFIG } - - diff --git a/recipes-kernel/linux/linux-colibri-t30_git.bb b/recipes-kernel/linux/linux-colibri-t30_git.bb new file mode 100644 index 0000000..5787091 --- /dev/null +++ b/recipes-kernel/linux/linux-colibri-t30_git.bb @@ -0,0 +1,27 @@ +inherit kernel +require recipes-kernel/linux/linux.inc + +LINUX_VERSION ?= "3.1.10" + +SRCREV = "8ff26794f73da3caf815f348a03509f533b32ec2" + +PV = "${LINUX_VERSION}+gitr${SRCREV}" +PR = "V2.0a3" +S = "${WORKDIR}/git" +#SRC_URI = "\ +# git://gitorious.org/colibri-t20-embedded-linux-bsp/colibri_t20-linux-kernel.git;protocol=git;branch=master \ +# file://bcm4329_warning.patch " +SRC_URI = "git://git.toradex.com/linux-toradex.git;protocol=git;branch=colibri" + +COMPATIBLE_MACHINE = "colibri-t30" + +CMDLINE="mem=148M@0M fbmem=12M@148M nvmem=96M@160M vmalloc=248M video=tegrafb root=/dev/nfs ip=:::::eth0:on rw netdevwait mtdparts=tegra_nand:1018368K@28160K(userspace) console=ttyS0,115200n8 usb_high_speed=1" + +do_configure_prepend_colibri-t30() { + #use the defconfig provided in the kernel source tree + install -m 0644 ${S}/arch/arm/configs/colibri_t30_defconfig ${WORKDIR}/defconfig + + #compile with -mno-unaligned-access, with 4.7 compiler the kernel fails + echo "KBUILD_CFLAGS += -mno-unaligned-access" >> ${S}/Makefile +} + |