summaryrefslogtreecommitdiff
path: root/meta/packages/linux/linux.inc
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-02-06 15:29:46 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-02-06 15:29:46 +0000
commitf5718978fcba5fc4ef6294d16e40dba0c75be661 (patch)
treeb9adcdb50a5b6f32c72ee0da7fa716518270457b /meta/packages/linux/linux.inc
parent0f2c51155fced19180781e179fa5f35b76c2ea4a (diff)
downloadopenembedded-core-f5718978fcba5fc4ef6294d16e40dba0c75be661.tar.gz
openembedded-core-f5718978fcba5fc4ef6294d16e40dba0c75be661.tar.bz2
openembedded-core-f5718978fcba5fc4ef6294d16e40dba0c75be661.zip
linux: removed deploy task - kernel.bbclass has own version now
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3678 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux/linux.inc')
-rw-r--r--meta/packages/linux/linux.inc34
1 files changed, 0 insertions, 34 deletions
diff --git a/meta/packages/linux/linux.inc b/meta/packages/linux/linux.inc
index 7b483686f4..4c24f7a2b1 100644
--- a/meta/packages/linux/linux.inc
+++ b/meta/packages/linux/linux.inc
@@ -100,37 +100,3 @@ do_install_prepend() {
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_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-${MACHINE}"
-
-do_deploy() {
- install -d ${DEPLOY_DIR_IMAGE}
- install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE_BASE_NAME}.bin
- tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${PR}-${MACHINE}.tgz -C ${D} lib
-
- 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 ${ARCH} -O linux -T kernel -C none -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin
- 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 ${ARCH} -O linux -T kernel -C gzip -a ${UBOOT_ENTRYPOINT} -e ${UBOOT_ENTRYPOINT} -n "${DISTRO_NAME}/${PV}/${MACHINE}" -d linux.bin.gz ${DEPLOY_DIR_IMAGE}/uImage-${PV}-${PR}-${MACHINE}-${DATETIME}.bin
- 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}"
-
-addtask deploy before do_package after do_install
-