aboutsummaryrefslogtreecommitdiffstats
path: root/packages/linux/linux-orion_2.6.27.10.bb
blob: c82ea4ab674a37028074a1a33ae15e328515ed91 (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
DESCRIPTION = "Linux Kernel for Marvell Orion based devices"
SECTION = "kernel"
LICENSE = "GPL"
PR = "r1"
DEPENDS = "devio-native"
COMPATIBLE_MACHINE = "(dns323|mv2120|kuropro|lspro|tsx09|ts409)"

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
           file://kuropro-foonas-mtd.patch;patch=1 \
           file://fw-and-powerpc-install.patch;patch=1 \
           file://defconfig \
               "

S = "${WORKDIR}/linux-${PV}"

# Fix the mach-type of orion devices
SRC_URI_append_dns323 +=        "file://dns323.patch;patch=1"
SRC_URI_append_mv2120 +=        "file://mv2120.patch;patch=1"
SRC_URI_append_kuropro +=       "file://kuropro.patch;patch=1"
SRC_URI_append_lspro +=         "file://lspro.patch;patch=1"
SRC_URI_append_ts109 +=         "file://ts109-ts209.patch;patch=1"
SRC_URI_append_ts209 +=         "file://ts109-ts209.patch;patch=1"
SRC_URI_append_ts409 +=         "file://ts409.patch;patch=1"

inherit kernel

KERNEL_IMAGETYPE = "uImage"

do_configure_prepend() {
        install -m 0644 ${WORKDIR}/defconfig ${S}/.config
}