diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-26 12:32:26 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-10-26 12:32:26 +0000 |
commit | 58df8e8af681ca604eda977c3ce10921e9613af1 (patch) | |
tree | c02a6e8dd65c7f83a1483fa4ef20b4be5fa30a52 /meta/packages/linux/linux.inc | |
parent | 523603f8d9679ee3b6a39ecdbf21db487d484c82 (diff) | |
download | openembedded-core-58df8e8af681ca604eda977c3ce10921e9613af1.tar.gz openembedded-core-58df8e8af681ca604eda977c3ce10921e9613af1.tar.bz2 openembedded-core-58df8e8af681ca604eda977c3ce10921e9613af1.zip |
linux: upgrade cm-x270 kernel to 2.6.23 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3005 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux.inc')
-rw-r--r-- | meta/packages/linux/linux.inc | 30 |
1 files changed, 16 insertions, 14 deletions
diff --git a/meta/packages/linux/linux.inc b/meta/packages/linux/linux.inc index 41b0c13179..bb2ad455fd 100644 --- a/meta/packages/linux/linux.inc +++ b/meta/packages/linux/linux.inc @@ -4,20 +4,13 @@ LICENSE = "GPL" inherit kernel -# These devices need mkimage to generate a kernel image -DEPENDS_append_kb9202 = " u-boot-mkimage-openmoko-native " -DEPENDS_append_at32stk1000 = " u-boot-mkimage-openmoko-native " -DEPENDS_append_atngw100 = " u-boot-mkimage-openmoko-native " -DEPENDS_append_at91sam9263ek = " u-boot-mkimage-openmoko-native " -DEPENDS_append_at91sam9261ek = " u-boot-mkimage-openmoko-native " -DEPENDS_append_at91sam9260ek = " u-boot-mkimage-openmoko-native " -DEPENDS_append_sarge-at91 = " u-boot-mkimage-openmoko-native " -DEPENDS_append_gumstix-connex = " u-boot-mkimage-openmoko-native " -DEPENDS_append_gumstix-verdex = " u-boot-mkimage-openmoko-native " -DEPENDS_append_fic-gta01 = " u-boot-mkimage-openmoko-native " -DEPENDS_append_fic-gta02 = " u-boot-mkimage-openmoko-native " +# Not every device needs mkimage to generate a kernel image, but lets make OE a bit more +# friendly and increase the "Just Works(TM) factor. Building uboot takes only a minute. +DEPENDS += " u-boot-mkimage-openmoko-native " +RPSRC = "http://www.rpsys.net/openzaurus/patches/archive" + # Specify the commandline for your device #boot from mmc @@ -42,7 +35,7 @@ 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 + echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config else echo "# CONFIG_AEABI is not set" >> ${S}/.config echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config @@ -104,11 +97,16 @@ do_install_prepend() { if test -e arch/${ARCH}/boot/images/uImage ; then ln -f arch/${ARCH}/boot/images/uImage arch/${ARCH}/boot/uImage fi + + if test -e arch/${ARCH}/kernel/vmlinux.lds ; then + ln -f arch/${ARCH}/kernel/vmlinux.lds arch/${ARCH}/boot/vmlinux + fi } UBOOT_ENTRYPOINT ?= "20008000" -KERNEL_IMAGE_BASE_NAME = ${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME} +KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}" +KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-${MACHINE}" do_deploy() { install -d ${DEPLOY_DIR_IMAGE} @@ -128,6 +126,10 @@ do_deploy() { rm -f linux.bin.gz fi fi + + cd ${DEPLOY_DIR_IMAGE} + rm -f ${KERNEL_IMAGE_SYMLINK_NAME}.bin + ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}.bin } do_deploy[dirs] = "${S}" |