summaryrefslogtreecommitdiff
path: root/packages/linux/linux_2.6.20.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-06-13 09:32:53 +0000
committerKoen Kooi <koen@openembedded.org>2007-06-13 09:32:53 +0000
commitdf6f7f3624879b030ed9f1d47f1d71bccde1de84 (patch)
tree4aafa9455e849f8f4a087545529543d13036fa45 /packages/linux/linux_2.6.20.bb
parent26eeb940ac198c37fa32fe98edadbeca15e8be6b (diff)
linux 2.6.20, 2.6.21, 2.6.21+2.6.21+2.6.22-rc1: at91sam9263-ek updates
Diffstat (limited to 'packages/linux/linux_2.6.20.bb')
-rw-r--r--packages/linux/linux_2.6.20.bb27
1 files changed, 25 insertions, 2 deletions
diff --git a/packages/linux/linux_2.6.20.bb b/packages/linux/linux_2.6.20.bb
index 80f6c71442..91388a2f95 100644
--- a/packages/linux/linux_2.6.20.bb
+++ b/packages/linux/linux_2.6.20.bb
@@ -1,7 +1,11 @@
DESCRIPTION = "Linux Kernel"
SECTION = "kernel"
LICENSE = "GPL"
-PR = "r6"
+
+# These devices need mkimage to generate a kernel image
+DEPENDS_at91sam9263ek = "u-boot-mkimage-gta01-native"
+
+PR = "r7"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 \
file://defconfig"
@@ -11,13 +15,32 @@ SRC_URI_append_n2100 = "\
file://rtc-rs5c372-n2100.patch;patch=1 \
"
+SRC_URI_append_at91sam9263ek = " \
+ http://maxim.org.za/AT91RM9200/2.6/${PV}-at91.patch.gz;patch=1 \
+ http://www.at91.com/repFichier/Project-217/linux-${PV}-at91-exp.diff.bz2;patch=1 \
+ "
+
inherit kernel
+
KERNEL_IMAGETYPE = "bzImage"
KERNEL_IMAGETYPE_n2100 = "zImage"
+KERNEL_IMAGETYPE_at91sam9263ek = "uImage"
do_configure_prepend() {
- install -m 0644 ${WORKDIR}/defconfig ${S}/.config
+ if [ "${TARGET_OS}" == "linux-gnueabi" -o "${TARGET_OS}" == "linux-uclibcgnueabi" ]; then
+ echo "CONFIG_AEABI=y" >> ${S}/.config
+ echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config
+ else
+ echo "# CONFIG_AEABI is not set" >> ${S}/.config
+ echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config
+ fi
+
+ sed -e '/CONFIG_AEABI/d' \
+ -e '/CONFIG_OABI_COMPAT=/d' \
+ '${WORKDIR}/defconfig' >>'${S}/.config'
+
+ yes '' | oe_runmake oldconfig
}
do_install_append_n2100() {