summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-linkstationppc_2.6.28.4.bb
blob: e86886e435ef4f03814e9c9b6606bf98359ff66c (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 = "GPLv2"
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
}