summaryrefslogtreecommitdiff
path: root/packages/linux/linux_2.6.20.bb
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-06-14 13:29:52 +0000
committerKoen Kooi <koen@openembedded.org>2007-06-14 13:29:52 +0000
commit49c22aff0b957d0104a569239484c577a3d7828d (patch)
treeb8aedc5bbeb3cf7bf78e46ed1cf320e01c6c0191 /packages/linux/linux_2.6.20.bb
parent8e621ef0bb79a8a126d3341b0038ba5a52a524df (diff)
linux 2.6.2x: unify and add deploy for u-boot machines
Diffstat (limited to 'packages/linux/linux_2.6.20.bb')
-rw-r--r--packages/linux/linux_2.6.20.bb43
1 files changed, 1 insertions, 42 deletions
diff --git a/packages/linux/linux_2.6.20.bb b/packages/linux/linux_2.6.20.bb
index d8882187ea..05124370ba 100644
--- a/packages/linux/linux_2.6.20.bb
+++ b/packages/linux/linux_2.6.20.bb
@@ -1,9 +1,4 @@
-DESCRIPTION = "Linux Kernel"
-SECTION = "kernel"
-LICENSE = "GPL"
-
-# These devices need mkimage to generate a kernel image
-DEPENDS_at91sam9263ek = "u-boot-mkimage-gta01-native"
+require linux.inc
PR = "r7"
@@ -20,40 +15,4 @@ SRC_URI_append_at91sam9263ek = " \
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() {
- 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_prepend() {
- if test -e arch/${ARCH}/boot/Image ; then
- ln -f arch/arm/boot/Image arch/arm/boot/uImage
- fi
-
- if test -e arch/${ARCH}/boot/images/uImage ; then
- ln -f arch/arm/boot/images/uImage arch/arm/boot/uImage
- fi
-}
-do_install_append_n2100() {
- install -d ${DEPLOY_DIR_IMAGE}
- install -m 0644 ${S}/arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}
-}