diff options
author | Richard Purdie <richard@openedhand.com> | 2007-04-17 13:42:14 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-04-17 13:42:14 +0000 |
commit | 26ab4749e518825602e9d5cdab1452d5a8cae6ff (patch) | |
tree | 7af589d69cfa7af9ac39bc028d33d07deb2fac18 /meta/packages/linux | |
parent | 075d2b7ecb713d594e4b15f9519dae36becfaba0 (diff) | |
download | openembedded-core-26ab4749e518825602e9d5cdab1452d5a8cae6ff.tar.gz openembedded-core-26ab4749e518825602e9d5cdab1452d5a8cae6ff.tar.bz2 openembedded-core-26ab4749e518825602e9d5cdab1452d5a8cae6ff.tar.xz openembedded-core-26ab4749e518825602e9d5cdab1452d5a8cae6ff.zip |
linux-nokia800: Improve do_deploy
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1514 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/linux')
-rw-r--r-- | meta/packages/linux/linux-nokia800.inc | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/packages/linux/linux-nokia800.inc b/meta/packages/linux/linux-nokia800.inc index 48a88320e..d5973e0cd 100644 --- a/meta/packages/linux/linux-nokia800.inc +++ b/meta/packages/linux/linux-nokia800.inc @@ -31,10 +31,13 @@ do_configure_prepend() { } do_deploy() { - install -d ${DEPLOY_DIR_IMAGE} - install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME} + install -d ${DEPLOY_DIR_IMAGE} + install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin + rm -f ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin + ln -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin + tar -cvzf ${DEPLOY_DIR_IMAGE}/modules-${KERNEL_RELEASE}-${MACHINE}.tgz -C ${D} lib } do_deploy[dirs] = "${S}" -addtask deploy before do_build after do_compile +addtask deploy before do_build after do_install |