summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/linux-raspberrypi_3.2.27.bb')
-rwxr-xr-xrecipes-kernel/linux/linux-raspberrypi_3.2.27.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb b/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
new file mode 100755
index 0000000..d9bec53
--- /dev/null
+++ b/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb
@@ -0,0 +1,38 @@
1COMPATIBLE_MACHINE = "raspberrypi"
2
3require linux.inc
4
5DESCRIPTION = "Linux kernel for the RaspberryPi board"
6
7PR = "r0"
8
9# Bump MACHINE_KERNEL_PR in the machine config if you update the kernel.
10# This is on the rpi-patches branch
11SRCREV = "091073bcab483b976ee33dfe914c28df87914a3b"
12
13SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \
14 "
15
16LINUX_VERSION ?= "3.2.27-rpi"
17PV = "${LINUX_VERSION}+${PR}+git${SRCREV}"
18
19S = "${WORKDIR}/git"
20
21# NOTE: For now we pull in the default config from the RPi kernel GIT tree.
22
23KERNEL_DEFCONFIG = "bcmrpi_defconfig"
24
25# CMDLINE for raspberrypi
26CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait"
27
28PARALLEL_MAKEINST = ""
29
30UDEV_GE_141 ?= "1"
31
32do_configure_prepend() {
33 install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available."
34}
35
36do_install_prepend() {
37 install -d ${D}/lib/firmware
38}