summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-linkstationppc_2.6.28.4.bb
blob: 3c15d78e4284f878536786ec10ab138145f88c47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
DESCRIPTION = "Linux Kernel for the Buffalo Linkstation HD/HG"
SECTION = "kernel"
LICENSE = "GPL"
PR = "r0"

DEPENDS = "dtc-native u-boot-mkimage-native"
COMPATIBLE_MACHINE = "(lsppchd|lsppchg)"

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

require linux.inc

export ARCH="powerpc"

do_configure() {
        install -m 0644 ${WORKDIR}/defconfig ${S}/.config
        ARCH=${ARCH} oe_runmake oldconfig
}