blob: 77703ad999850fa046da5bd9f2146d20c9f0b16a (
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
32
33
34
35
|
DESCRIPTION = "Linux Kernel for ARM based Buffalo Linkstations"
SECTION = "kernel"
LICENSE = "GPL"
PR = "r2"
COMPATIBLE_MACHINE = "lsarm"
SRC_URI = "http://kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.tar.bz2 \
http://downloads.linkstationwiki.net/Users/timtimred/lsarm/2.6.12-compiler_fix.patch;patch=1 \
file://makefile.patch;patch=1 \
file://defconfig \
"
S = "${WORKDIR}/linux-2.6.12"
inherit kernel
export ARCH="arm"
KERNEL_IMAGETYPE = "uImage"
do_configure() {
install -m 0644 ${WORKDIR}/defconfig ${S}/.config
ARCH=${ARCH} oe_runmake oldconfig
}
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/vmlinux.UBoot
}
do_deploy[dirs] = "${S}"
addtask deploy before do_build after do_compile
|