summaryrefslogtreecommitdiff
path: root/packages/linux/linux_2.6.21+2.6.22-rc1.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/linux_2.6.21+2.6.22-rc1.bb')
-rw-r--r--packages/linux/linux_2.6.21+2.6.22-rc1.bb45
1 files changed, 1 insertions, 44 deletions
diff --git a/packages/linux/linux_2.6.21+2.6.22-rc1.bb b/packages/linux/linux_2.6.21+2.6.22-rc1.bb
index c8d28ee6c2..ce0340d9f1 100644
--- a/packages/linux/linux_2.6.21+2.6.22-rc1.bb
+++ b/packages/linux/linux_2.6.21+2.6.22-rc1.bb
@@ -1,16 +1,6 @@
-DESCRIPTION = "Linux Kernel"
-SECTION = "kernel"
-LICENSE = "GPL"
+require linux.inc
DEFAULT_PREFERENCE = "-1"
-
-
-# These devices need mkimage to generate a kernel image
-DEPENDS_kb9202 = "u-boot-mkimage-gta01-native"
-DEPENDS_at32stk1000 = "u-boot-mkimage-gta01-native"
-DEPENDS_atngw100 = "u-boot-mkimage-gta01-native"
-DEPENDS_at91sam9263ek = "u-boot-mkimage-gta01-native"
-
DEFAULT_PREFERENCE_at91sam9263ek = "-1"
PR = "r0"
@@ -34,37 +24,4 @@ SRC_URI_append_at91sam9263ek = " http://maxim.org.za/AT91RM9200/2.6/2.6.22-rc1-a
S = "${WORKDIR}/linux-2.6.21"
-inherit kernel
-
-KERNEL_IMAGETYPE_progear = "bzImage"
-KERNEL_IMAGETYPE_simpad = "zImage"
-KERNEL_IMAGETYPE_kb9202 = "uImage"
-KERNEL_IMAGETYPE_atngw100 = "uImage"
-KERNEL_IMAGETYPE_at32stk1000 = "uImage"
-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
-}