linux-omap 2.6.37: replace various patch with upstream versions and rediff
[openembedded.git] / recipes / linux / linux-turbostation_2.6.20.2.bb
blob3ade39f3a474a95e6723a567109d41388347b631
1 DESCRIPTION = "Linux Kernel for the QNAP TurboStation platform"
2 SECTION = "kernel"
3 LICENSE = "GPLv2"
4 PR = "r2"
6 COMPATIBLE_MACHINE = "turbostation"
8 RDEPENDS_kernel-module-zd1211rw += "zd1211-firmware"
10 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
11 file://001_r1000.diff \
12 file://linux-2.6.16_arch_ppc_platforms_sandpoint.h;apply=yes \
13 file://002_qnap-pic.diff \
14 file://linux-2.6.16_arch_ppc_syslib_Makefile;apply=yes \
15 file://linux-2.6.16_drivers_mtd_maps_physmap.c;apply=yes \
16 file://linux-2.6.16_arch_ppc_syslib_mpc10x_common.c;apply=yes \
17 file://linux-2.6.16_arch_ppc_platforms_Makefile;apply=yes \
18 file://linux-2.6.16_include_asm-ppc_mpc10x.h;apply=yes \
19 file://linux-2.6.16_arch_ppc_platforms_sandpoint.c;apply=yes \
20 file://defconfig"
22 S = "${WORKDIR}/linux-${PV}"
24 inherit kernel
26 KERNEL_IMAGETYPE = "uImage"
27 KERNEL_OUTPUT = "arch/${ARCH}/boot/images/${KERNEL_IMAGETYPE}"
28 # Override arch. The kernel stuff is in arch/ppc, not arch/powerpc in our case
29 ARCH = ppc
31 do_configure() {
32 install -m 644 ${WORKDIR}/defconfig ${S}/.config
33 make ARCH=ppc oldconfig
36 #ppc build leaves the kernel in a different place
37 #do_movekernel() {
41 SRC_URI[md5sum] = "bc33bd163130df9c59b165a1d31ccfdc"
42 SRC_URI[sha256sum] = "56c46e51429530665970c53c9a99d8ad3843bb5c0fa713fb752b2724ff4eb872"