Merge bk://openembedded@openembedded.bkbits.net/packages
[vuplus_openembedded] / linux / montavista-sa_2.4.17-mvl21.oe
1 DESCRIPTION = "Linux kernel for the MASTERIA PA-100 device."
2 MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
3 LICENSE = "GPL"
4 KV = "${@oe.data.getVar('PV',d,True).split('-')[0]}"
5 MVLV = "${@oe.data.getVar('PV',d,True).split('-')[1]}"
6 PR = "r4"
7
8 FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/montavista-sa-${PV}"
9
10 SRC_URI = "http://www.vanille.de/mirror/linux-${KV}_${MVLV}.tar.gz \
11            file://iw_handlers.w13-5.diff;patch=1 \
12            file://iw_handlers.w14-5.diff;patch=1 \
13            file://iw240_we15-6.diff;patch=1 \
14            \
15            file://flash-for-beagle-iii.patch;patch=1 \
16            \
17            file://mkdep.patch;patch=1 \
18            file://defconfig-${MACHINE}"
19
20 S = "${WORKDIR}/linux-${KV}_${MVLV}"
21
22 inherit kernel
23
24 CMDLINE="noinitrd root=/dev/mtdblock/1 mem=27M console=ttySA0"
25
26 KERNEL_CCSUFFIX = "-2.95"
27 KERNEL_LDSUFFIX = "-2.11.2"
28 COMPATIBLE_HOST = "arm.*-linux"
29
30 EXTRA_OEMAKE = ""
31
32 do_configure_prepend() {
33         install -m 0644 ${WORKDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available."
34         echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config
35 }
36