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 | poky-58df8e8af681ca604eda977c3ce10921e9613af1.tar.gz |
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" | |||
4 | 4 | ||
5 | inherit kernel | 5 | inherit kernel |
6 | 6 | ||
7 | # These devices need mkimage to generate a kernel image | 7 | # Not every device needs mkimage to generate a kernel image, but lets make OE a bit more |
8 | DEPENDS_append_kb9202 = " u-boot-mkimage-openmoko-native " | 8 | # friendly and increase the "Just Works(TM) factor. Building uboot takes only a minute. |
9 | DEPENDS_append_at32stk1000 = " u-boot-mkimage-openmoko-native " | 9 | DEPENDS += " u-boot-mkimage-openmoko-native " |
10 | DEPENDS_append_atngw100 = " u-boot-mkimage-openmoko-native " | ||
11 | DEPENDS_append_at91sam9263ek = " u-boot-mkimage-openmoko-native " | ||
12 | DEPENDS_append_at91sam9261ek = " u-boot-mkimage-openmoko-native " | ||
13 | DEPENDS_append_at91sam9260ek = " u-boot-mkimage-openmoko-native " | ||
14 | DEPENDS_append_sarge-at91 = " u-boot-mkimage-openmoko-native " | ||
15 | DEPENDS_append_gumstix-connex = " u-boot-mkimage-openmoko-native " | ||
16 | DEPENDS_append_gumstix-verdex = " u-boot-mkimage-openmoko-native " | ||
17 | DEPENDS_append_fic-gta01 = " u-boot-mkimage-openmoko-native " | ||
18 | DEPENDS_append_fic-gta02 = " u-boot-mkimage-openmoko-native " | ||
19 | 10 | ||
20 | 11 | ||
12 | RPSRC = "http://www.rpsys.net/openzaurus/patches/archive" | ||
13 | |||
21 | # Specify the commandline for your device | 14 | # Specify the commandline for your device |
22 | 15 | ||
23 | #boot from mmc | 16 | #boot from mmc |
@@ -42,7 +35,7 @@ do_configure_prepend() { | |||
42 | # | 35 | # |
43 | if [ "${TARGET_OS}" = "linux-gnueabi" -o "${TARGET_OS}" = "linux-uclibcgnueabi" ]; then | 36 | if [ "${TARGET_OS}" = "linux-gnueabi" -o "${TARGET_OS}" = "linux-uclibcgnueabi" ]; then |
44 | echo "CONFIG_AEABI=y" >> ${S}/.config | 37 | echo "CONFIG_AEABI=y" >> ${S}/.config |
45 | echo "CONFIG_OABI_COMPAT=y" >> ${S}/.config | 38 | echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config |
46 | else | 39 | else |
47 | echo "# CONFIG_AEABI is not set" >> ${S}/.config | 40 | echo "# CONFIG_AEABI is not set" >> ${S}/.config |
48 | echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config | 41 | echo "# CONFIG_OABI_COMPAT is not set" >> ${S}/.config |
@@ -104,11 +97,16 @@ do_install_prepend() { | |||
104 | if test -e arch/${ARCH}/boot/images/uImage ; then | 97 | if test -e arch/${ARCH}/boot/images/uImage ; then |
105 | ln -f arch/${ARCH}/boot/images/uImage arch/${ARCH}/boot/uImage | 98 | ln -f arch/${ARCH}/boot/images/uImage arch/${ARCH}/boot/uImage |
106 | fi | 99 | fi |
100 | |||
101 | if test -e arch/${ARCH}/kernel/vmlinux.lds ; then | ||
102 | ln -f arch/${ARCH}/kernel/vmlinux.lds arch/${ARCH}/boot/vmlinux | ||
103 | fi | ||
107 | } | 104 | } |
108 | 105 | ||
109 | UBOOT_ENTRYPOINT ?= "20008000" | 106 | UBOOT_ENTRYPOINT ?= "20008000" |
110 | 107 | ||
111 | KERNEL_IMAGE_BASE_NAME = ${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME} | 108 | KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}-${DATETIME}" |
109 | KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-${MACHINE}" | ||
112 | 110 | ||
113 | do_deploy() { | 111 | do_deploy() { |
114 | install -d ${DEPLOY_DIR_IMAGE} | 112 | install -d ${DEPLOY_DIR_IMAGE} |
@@ -128,6 +126,10 @@ do_deploy() { | |||
128 | rm -f linux.bin.gz | 126 | rm -f linux.bin.gz |
129 | fi | 127 | fi |
130 | fi | 128 | fi |
129 | |||
130 | cd ${DEPLOY_DIR_IMAGE} | ||
131 | rm -f ${KERNEL_IMAGE_SYMLINK_NAME}.bin | ||
132 | ln -sf ${KERNEL_IMAGE_BASE_NAME}.bin ${KERNEL_IMAGE_SYMLINK_NAME}.bin | ||
131 | } | 133 | } |
132 | 134 | ||
133 | do_deploy[dirs] = "${S}" | 135 | do_deploy[dirs] = "${S}" |