summaryrefslogtreecommitdiff
path: root/packages/linux/gumstix-linux.inc
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2008-03-27 18:13:53 +0000
committerThomas Kunze <thommycheck@gmx.de>2008-03-27 18:13:53 +0000
commit7b09a8c67663f4d920946b4323fe04da121a8e57 (patch)
tree3a9fe2b92fe315cadbb4da5590cd20b1a67cd334 /packages/linux/gumstix-linux.inc
parent47b59b0331788424d96b22fdd0c7e0e01b3a5c64 (diff)
update kernel recipies to use new generic do_deploy from kernel.bbclass
Diffstat (limited to 'packages/linux/gumstix-linux.inc')
-rw-r--r--packages/linux/gumstix-linux.inc18
1 files changed, 0 insertions, 18 deletions
diff --git a/packages/linux/gumstix-linux.inc b/packages/linux/gumstix-linux.inc
index 038089c965..76fd15d95a 100644
--- a/packages/linux/gumstix-linux.inc
+++ b/packages/linux/gumstix-linux.inc
@@ -9,10 +9,7 @@ DEPENDS += " \
u-boot-mkimage-openmoko-native \
"
-KERNEL_IMAGE_BASE_NAME = ${KERNEL_IMAGETYPE}-${PV}-${PR}-${MACHINE}
-
S = "${WORKDIR}/linux-${PV}"
-do_deploy[dirs] = "${S}"
do_configure_prepend() {
echo "" > ${S}/.config
@@ -44,18 +41,3 @@ do_install_prepend() {
ln -f arch/${ARCH}/boot/images/uImage arch/${ARCH}/boot/uImage
fi
}
-
-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
- ${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}/${KERNEL_IMAGE_BASE_NAME}.bin
- rm -f linux.bin
-
- fi
-}
-
-addtask deploy before do_package after do_install