summaryrefslogtreecommitdiff
path: root/recipes/linux/ipod_2.4.24-ipod0.bb
blob: 2704d1da386c71175c9a5ee802a8f82709bd37b4 (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
SECTION = "kernel"
DESCRIPTION = "Linux kernel for Ipods"
LICENSE = "GPLv2"
KV = "2.4.24"
PV = "${KV}-ipod0"

SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.4/linux-${KV}.tar.bz2 \
           http://www.uclinux.org/pub/uClinux/uClinux-2.4.x/uClinux-2.4.24-uc0.diff.gz;patch=1 \
           ${SOURCEFORGE_MIRROR}/ipodlinux/uclinux-2.4.24-ipod0.patch.gz;patch=1  "

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

COMPATIBLE_MACHINE = "ipod"

inherit kernel

EXTRA_OEMAKE = ""
do_configure_prepend() {
        install -m 0644 ${S}/arch/armnommu/def-configs/ipod ${S}/.config
}

do_compile() {
        unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS
        oe_runmake
}