blob: 498f58e8a96a387f0267c8f751ff965f94051697 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
|
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 = "r6"
DEPENDS = "cetools-native"
FILESDIR = "${@os.path.dirname(oe.data.getVar('FILE',d,1))}/montavista-sa-${PV}"
SRC_URI = "http://www.vanille.de/temp/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://remove-montavista-init-stupidity.patch;patch=1 \
file://mkdep.patch;patch=1 \
file://machine_name.patch;patch=1 \
file://opie-logo.patch;patch=1 \
file://apm-hh-merge.patch;patch=1 \
file://defconfig-${MACHINE}"
S = "${WORKDIR}/linux-${KV}_${MVLV}"
inherit kernel
CMDLINE = "root=/dev/mtdblock/1 mem=27M console=ttySA0 noinitrd"
KERNEL_CCSUFFIX = "-2.95"
KERNEL_LDSUFFIX = "-2.11.2"
COMPATIBLE_HOST = "arm.*-linux"
EXTRA_OEMAKE = ""
module_conf_sa1100_ir = "alias irda0 sa1100_ir"
module_conf_pcmcia_core = "options pcmcia_core ignore_cis_vcc=1"
module_conf_ppp_async = "alias ppp0 ppp_async"
module_conf_orinoco_cs = "options orinoco_cs ignore_cis_vcc=1"
module_conf_hostap_cs = "options hostap_cs ignore_cis_vcc=1"
module_conf_spectrum_cs = "options spectrum_cs ignore_cis_vcc=1"
module_conf_usbdmonitor = "alias usbd0 usbdmonitor"
module_conf_sa1100_bi = "below sa1100_bi net_fd usbdcore "
module_autoload_sa1100_bi = "sa1100_bi"
module_autoload_sa1100_pcmcia = "sa1100_pcmcia"
module_autoload_unix = "unix"
module_autoload_usb-eth = "usb-eth"
do_configure_prepend() {
install -m 0644 ${WORKDIR}/defconfig-${MACHINE} ${S}/.config || die "No default configuration for ${MACHINE} available."
echo "CONFIG_CMDLINE=\"${CMDLINE}\"" >> ${S}/.config
}
do_deploy() {
install -d ${DEPLOY_DIR}/images
bin2rom arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR}/images/${KERNEL_IMAGETYPE}-${DATETIME}.bin c0008000 c0008000
}
do_deploy[dirs] = "${S}"
addtask deploy before do_build after do_compile
|