summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/linux-colibri-t20_git.bb.bak
blob: ea6fb177e74704a1a06312c39fb126f491230bb7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
inherit kernel
require recipes-kernel/linux/linux.inc

LINUX_VERSION ?= "2.6.36.2"

SRCREV = "99003b6bd73fd8ce4f2bd63a1c7b63f8c3d0cf68"

PV = "2.6.36.2+gitr${SRCREV}"
PR = "V1.0b6"
S = "${WORKDIR}/git"
SRC_URI = "\
  git://gitorious.org/colibri-t20-embedded-linux-bsp/colibri_t20-linux-kernel.git;protocol=git;branch=master \
  systemd-koen.patch \
"

#SVN_REV = 190
#PV = "2.6.36.2"
#PR = "${SVN_REV}"
#S = "${WORKDIR}/kernel"
#SRC_URI = "svn://tegradev:tegra123!@mammut.toradex.int:8090/colibri_tegra_linux/trunk;module=kernel;rev=${SVN_REV};proto=http \
#	file://bcm4329_warning.patch "

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 -O2, 4.5. compiler seems to fail with -Os
#	sed -i -e /CONFIG_CC_OPTIMIZE_FOR_SIZE/d ${WORKDIR}/defconfig
#	echo "CONFIG_CC_OPTIMIZE_FOR_SIZE=n" >> ${WORKDIR}/defconfig
}

#require recipes-kernel/linux/linux-tools.inc