summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap1.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2007-08-05 22:47:31 +0000
committerPhilip Balister <philip@balister.org>2007-08-05 22:47:31 +0000
commitc3c1b23e47b720d97c2c9d3a962284fe148ea72a (patch)
treead699e8bd57f6ee5025c003c6e93aff90336a5de /packages/linux/linux-omap1.inc
parent25310a54f680c1b667d6d71a1cded22e441c7724 (diff)
linux-omap1.inc : Use kernel uImage target instead of creating uImage from vmlinux in bb file.
Diffstat (limited to 'packages/linux/linux-omap1.inc')
-rw-r--r--packages/linux/linux-omap1.inc13
1 files changed, 3 insertions, 10 deletions
diff --git a/packages/linux/linux-omap1.inc b/packages/linux/linux-omap1.inc
index ac7d398122..e2b168e454 100644
--- a/packages/linux/linux-omap1.inc
+++ b/packages/linux/linux-omap1.inc
@@ -7,8 +7,7 @@ COMPATIBLE_MACHINE = "omap5912osk"
inherit kernel
-KERNEL_IMAGETYPE = "vmlinux"
-KERNEL_OUTPUT = "${KERNEL_IMAGETYPE}"
+KERNEL_IMAGETYPE = "uImage"
module_autoload_ohci-hcd_omap5912osk = "ohci-hcd"
@@ -22,15 +21,9 @@ do_configure_prepend() {
oe_runmake oldconfig
}
-
do_deploy() {
- if [ "${MACHINE}" == "omap5912osk" ]; then
- install -d ${DEPLOY_DIR_IMAGE}
- ${OBJCOPY} -O binary -R .note -R .comment -S ${KERNEL_OUTPUT} ${S}/linux.bin
- gzip -f -9 ${S}/linux.bin
- mkimage -A arm -O linux -T kernel -C gzip -a 0x10008000 -e 0x10008000 -n "OE" -d ${S}/linux.bin.gz ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${KERNEL_VERSION}-${MACHINE}-${DATETIME}.bin
- rm ${S}/linux.bin.gz
- fi
+ install -d ${DEPLOY_DIR_IMAGE}
+ install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}
}
do_deploy[dirs] = "${S}"