linux-omap 2.6.37: replace various patch with upstream versions and rediff
[openembedded.git] / recipes / linux / ep93xx-kernel_2.6.19+2.6.20-rc7.bb
blob1c74f825b77b463e3174a22a286cd83f1894886c
1 DESCRIPTION = "Linux Kernel for Cirrus Logic ep39xx compatible machines"
2 SECTION = "kernel"
3 LICENSE = "GPLv2"
4 PR = "r1"
6 COMPATIBLE_MACHINE = "ep93xx"
8 SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.19.tar.bz2;name=kernel \
9 ${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/testing/patch-2.6.20-rc7.bz2;apply=yes;name=patch \
10 file://dynamic-phys-offset-2.6.20-rc7.diff \
11 file://defconfig \
14 S = "${WORKDIR}/linux-2.6.19"
16 inherit kernel
21 do_configure() {
22 rm -f ${S}/.config
24 if [ ! -e ${WORKDIR}/defconfig ]; then
25 die "No default configuration for ${MACHINE} available."
29 if [ "${TARGET_OS}" = "linux-gnueabi" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then
30 echo "CONFIG_AEABI=y" >> ${S}/.config
31 echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config
32 else
33 echo "# CONFIG_AEABI is not set" >> ${S}/.config
34 echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config
37 sed -e '/CONFIG_AEABI/d' \
38 -e '/CONFIG_OABI_COMPAT=/d' \
39 '${WORKDIR}/defconfig' >>'${S}/.config'
41 yes '' | oe_runmake oldconfig
46 SRC_URI[kernel.md5sum] = "443c265b57e87eadc0c677c3acc37e20"
47 SRC_URI[kernel.sha256sum] = "c2fd6bcd2b7c1b3d37d64e4d1825703792a75474830a3db7d2dc603a8d392d58"
48 SRC_URI[patch.md5sum] = "b78873f8a3aff5bdc719fc7fb4c66a9b"
49 SRC_URI[patch.sha256sum] = "08cbaf4595195e5956b781bb5afbff9aa1c073fa887bea895f6b6de4ba332e79"