summaryrefslogtreecommitdiff
path: root/recipes/linux/linux.inc
diff options
context:
space:
mode:
authorGraham Gower <graham.gower@gmail.com>2009-07-31 12:28:08 +0100
committerGraeme Gregory <dp@xora.org.uk>2009-07-31 12:28:08 +0100
commitee1df327f904325add1522ea51c97885ce59b913 (patch)
tree9f583699e2ebeeecf4ec51dde654bf80456113ea /recipes/linux/linux.inc
parentb73732a25fc76df6934479fd3ece5888c5888dcd (diff)
kernel.bbclass : moved uImage creation from do_deploy to between do_compile
and do_install as discussed on ML. linux.inc : removed uImage creation, its now in kernel.bbclass Signed-off-by: Graham Gower <graham.gower@gmail.com> Acked-by: Graeme Gregory <dp@xora.org.uk> Acked-by: Koen Kooi <koen@openembedded.org>
Diffstat (limited to 'recipes/linux/linux.inc')
-rw-r--r--recipes/linux/linux.inc16
1 files changed, 0 insertions, 16 deletions
diff --git a/recipes/linux/linux.inc b/recipes/linux/linux.inc
index 96feba642f..3dbb1ecb40 100644
--- a/recipes/linux/linux.inc
+++ b/recipes/linux/linux.inc
@@ -158,22 +158,6 @@ do_configure_append() {
fi
}
-do_compile_append() {
- if test "x${KERNEL_IMAGETYPE}" = "xuImage" ; then
- if test -e arch/${ARCH}/boot/compressed/vmlinux ; then
- ${OBJCOPY} -O binary -R .note -R .comment -S arch/${ARCH}/boot/compressed/vmlinux linux.bin
- uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C none -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin arch/${ARCH}/boot/uImage
- rm -f linux.bin
- else
- ${OBJCOPY} -O binary -R .note -R .comment -S vmlinux linux.bin
- rm -f linux.bin.gz
- gzip -9 linux.bin
- uboot-mkimage -A ${UBOOT_ARCH} -O linux -T kernel -C gzip -a ${UBOOT_LOADADDRESS} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz arch/${ARCH}/boot/uImage
- rm -f linux.bin.gz
- fi
- fi
-}
-
do_devicetree_image() {
if test -n "${KERNEL_DEVICETREE}" ; then
dtc -I dts -O dtb ${KERNEL_DEVICETREE_FLAGS} -o devicetree ${KERNEL_DEVICETREE}