summaryrefslogtreecommitdiff
path: root/linux/montavista-sa_2.4.17-mvl21.oe
blob: 24eb347d4e4b35e37f21b078e39125c67e02e925 (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
36
DESCRIPTION = "Linux kernel for the MASTERIA PA-100 device."
MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
LICENSE = "GPL"
KV = "${@oe.data.getVar('PV',d,True).split('-')[0]}"
MVLV = "${@oe.data.getVar('PV',d,True).split('-')[1]}"
PR = "r4"

FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/montavista-sa-${PV}"

SRC_URI = "http://www.vanille.de/mirror/linux-${KV}_${MVLV}.tar.gz \
           file://iw_handlers.w13-5.diff;patch=1 \
           file://iw_handlers.w14-5.diff;patch=1 \
           file://iw240_we15-6.diff;patch=1 \
	   \
	   file://flash-for-beagle-iii.patch;patch=1 \
	   \
           file://mkdep.patch;patch=1 \
           file://defconfig-${MACHINE}"

S = "${WORKDIR}/linux-${KV}_${MVLV}"

inherit kernel

CMDLINE="noinitrd root=/dev/mtdblock/1 mem=27M console=ttySA0"

KERNEL_CCSUFFIX = "-2.95"
KERNEL_LDSUFFIX = "-2.11.2"
COMPATIBLE_HOST = "arm.*-linux"

EXTRA_OEMAKE = ""

do_configure_prepend() {
	install -m 0644 ${WORKDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available."
	echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config
}