summaryrefslogtreecommitdiff
path: root/packages/linux/linux-handhelds-2.6.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-03-03 13:50:56 +0000
committerKoen Kooi <koen@openembedded.org>2008-03-03 13:50:56 +0000
commit2585b92eee7b07381c45cc8fcb37eb2440663bda (patch)
tree34677058ad9e54ef87a7a1c56c4ea3304e5f7be1 /packages/linux/linux-handhelds-2.6.inc
parent97dc4e52619da90ed223801527847b843e55c5cc (diff)
linux-handhelds: deploy tweaks:
* copy zImage to zImage-<initramfsname> to allow changing of INITRAMFS_PATH * make a modules.tgz tarball
Diffstat (limited to 'packages/linux/linux-handhelds-2.6.inc')
-rw-r--r--packages/linux/linux-handhelds-2.6.inc7
1 files changed, 6 insertions, 1 deletions
diff --git a/packages/linux/linux-handhelds-2.6.inc b/packages/linux/linux-handhelds-2.6.inc
index c6bb6bae69..3bd9f78ea2 100644
--- a/packages/linux/linux-handhelds-2.6.inc
+++ b/packages/linux/linux-handhelds-2.6.inc
@@ -67,12 +67,17 @@ do_compile_prepend() {
do_deploy() {
install -d ${DEPLOY_DIR_IMAGE}
install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_FILENAME}
-
+ tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${PV}-${PR}-${MACHINE}.tgz -C ${D} lib
+
#reflash.ctl is required to reflash using bootldr
# format:
# name file md5sumfile destination
echo "${MACHINE}-kernel-${DATETIME} ${KERNEL_FILENAME} - kernel" >> ${DEPLOY_DIR_IMAGE}/reflash.ctl
gen_haret_startup
+
+ if [ -n "${KERNEL_INITRAMFS_PATH}" -a "${ANGSTROM_MODE}" == "glibc" ]; then
+ cp ${DEPLOY_DIR_IMAGE}/${KERNEL_FILENAME} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-$(basename ${KERNEL_INITRAMFS_PATH} | awk -F. '{print $1}')-${PV}-${PR}-${MACHINE}.bin
+ fi
}
do_deploy[dirs] = "${S}"