diff options
Diffstat (limited to 'recipes-kernel/linux/linux-raspberrypi_3.2.27.bb')
| -rwxr-xr-x | recipes-kernel/linux/linux-raspberrypi_3.2.27.bb | 38 |
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 @@ | |||
| 1 | COMPATIBLE_MACHINE = "raspberrypi" | ||
| 2 | |||
| 3 | require linux.inc | ||
| 4 | |||
| 5 | DESCRIPTION = "Linux kernel for the RaspberryPi board" | ||
| 6 | |||
| 7 | PR = "r0" | ||
| 8 | |||
| 9 | # Bump MACHINE_KERNEL_PR in the machine config if you update the kernel. | ||
| 10 | # This is on the rpi-patches branch | ||
| 11 | SRCREV = "091073bcab483b976ee33dfe914c28df87914a3b" | ||
| 12 | |||
| 13 | SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \ | ||
| 14 | " | ||
| 15 | |||
| 16 | LINUX_VERSION ?= "3.2.27-rpi" | ||
| 17 | PV = "${LINUX_VERSION}+${PR}+git${SRCREV}" | ||
| 18 | |||
| 19 | S = "${WORKDIR}/git" | ||
| 20 | |||
| 21 | # NOTE: For now we pull in the default config from the RPi kernel GIT tree. | ||
| 22 | |||
| 23 | KERNEL_DEFCONFIG = "bcmrpi_defconfig" | ||
| 24 | |||
| 25 | # CMDLINE for raspberrypi | ||
| 26 | CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" | ||
| 27 | |||
| 28 | PARALLEL_MAKEINST = "" | ||
| 29 | |||
| 30 | UDEV_GE_141 ?= "1" | ||
| 31 | |||
| 32 | do_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 | |||
| 36 | do_install_prepend() { | ||
| 37 | install -d ${D}/lib/firmware | ||
| 38 | } | ||
