[oe-commits] org.oe.dev linux-omap1.inc : Use kernel uImage target instead of creating uImage from vmlinux in bb file.
raj.khem commit
openembedded-commits at lists.openembedded.org
Sun Aug 5 23:09:41 UTC 2007
linux-omap1.inc : Use kernel uImage target instead of creating uImage from vmlinux in bb file.
Author: raj.khem at gmail.com
Branch: org.openembedded.dev
Revision: 2ca62fb6b78e53a414e5ce98cf416aa947103447
ViewMTN: http://monotone.openembedded.org/revision.psp?id=2ca62fb6b78e53a414e5ce98cf416aa947103447
Files:
1
packages/linux/linux-omap1.inc
Diffs:
#
# mt diff -r084e274c48f823c65aec6fa2b64a80f2f37aaa3b -r2ca62fb6b78e53a414e5ce98cf416aa947103447
#
#
#
# patch "packages/linux/linux-omap1.inc"
# from [8fc1c4685852446244d91a93910ed587bdc52aa8]
# to [c80e56a3ff3b65aedcb557db63f37678a33abfdc]
#
============================================================
--- packages/linux/linux-omap1.inc 8fc1c4685852446244d91a93910ed587bdc52aa8
+++ packages/linux/linux-omap1.inc c80e56a3ff3b65aedcb557db63f37678a33abfdc
@@ -7,8 +7,7 @@ inherit kernel
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}"
More information about the Openembedded-commits
mailing list