diff options
| author | Andrei Gherzan <andrei@gherzan.ro> | 2012-11-14 23:31:10 +0200 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2012-11-27 22:42:41 +0200 |
| commit | 48e073978370789cd9fccc456929936520731c2c (patch) | |
| tree | e2296df95b5d14fbaec0b311a3773927671e7473 | |
| parent | d952980bd40526cc3f0649032a991cd9e4c90102 (diff) | |
| download | meta-raspberrypi-48e073978370789cd9fccc456929936520731c2c.tar.gz | |
linux-raspberrypi: Cleanup recipe
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
| -rw-r--r-- | recipes-kernel/linux/linux-raspberrypi_3.2.27.bb | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb b/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb index 33b89d8..551e4ed 100644 --- a/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb +++ b/recipes-kernel/linux/linux-raspberrypi_3.2.27.bb | |||
| @@ -1,32 +1,22 @@ | |||
| 1 | COMPATIBLE_MACHINE = "raspberrypi" | ||
| 2 | |||
| 3 | require linux.inc | 1 | require linux.inc |
| 4 | 2 | ||
| 5 | DESCRIPTION = "Linux kernel for the RaspberryPi board" | 3 | DESCRIPTION = "Linux kernel for the RaspberryPi board" |
| 4 | COMPATIBLE_MACHINE = "raspberrypi" | ||
| 6 | 5 | ||
| 7 | PR = "r4" | 6 | PR = "r5" |
| 7 | PV_append = "+git${SRCREV}" | ||
| 8 | 8 | ||
| 9 | # Bump MACHINE_KERNEL_PR in the machine config if you update the kernel. | ||
| 10 | # This is on the rpi-3.2.27 branch | ||
| 11 | SRCREV = "e33263e7eab2d05349b438f6a4a8d1924686a824" | 9 | SRCREV = "e33263e7eab2d05349b438f6a4a8d1924686a824" |
| 12 | |||
| 13 | SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \ | 10 | SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-3.2.27 \ |
| 14 | " | 11 | " |
| 15 | |||
| 16 | LINUX_VERSION ?= "3.2.27-rpi" | ||
| 17 | PV = "${LINUX_VERSION}+git${SRCREV}" | ||
| 18 | |||
| 19 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 20 | 13 | ||
| 21 | # NOTE: For now we pull in the default config from the RPi kernel GIT tree. | 14 | # NOTE: For now we pull in the default config from the RPi kernel GIT tree. |
| 22 | |||
| 23 | KERNEL_DEFCONFIG = "bcmrpi_defconfig" | 15 | KERNEL_DEFCONFIG = "bcmrpi_defconfig" |
| 24 | 16 | ||
| 25 | # CMDLINE for raspberrypi | 17 | # CMDLINE for raspberrypi |
| 26 | CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" | 18 | CMDLINE_raspberrypi = "dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" |
| 27 | 19 | ||
| 28 | PARALLEL_MAKEINST = "" | ||
| 29 | |||
| 30 | UDEV_GE_141 ?= "1" | 20 | UDEV_GE_141 ?= "1" |
| 31 | 21 | ||
| 32 | do_configure_prepend() { | 22 | do_configure_prepend() { |
