diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-04 11:24:25 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2008-11-04 11:24:25 +0000 |
commit | f27cbd1a4e76ae4ce9728a380ee678df9953ed21 (patch) | |
tree | 4dd67c8318fced8f861ecfb7b382e3af1cf576aa /meta/packages/linux/linux-simtec.inc | |
parent | 1b7873fae984f29a3953e3601f543a29194fdaad (diff) | |
download | openembedded-core-f27cbd1a4e76ae4ce9728a380ee678df9953ed21.tar.gz openembedded-core-f27cbd1a4e76ae4ce9728a380ee678df9953ed21.tar.bz2 openembedded-core-f27cbd1a4e76ae4ce9728a380ee678df9953ed21.zip |
Add depicture machine with patches from SimTec
Diffstat (limited to 'meta/packages/linux/linux-simtec.inc')
-rw-r--r-- | meta/packages/linux/linux-simtec.inc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/linux/linux-simtec.inc b/meta/packages/linux/linux-simtec.inc new file mode 100644 index 0000000000..b9503cef96 --- /dev/null +++ b/meta/packages/linux/linux-simtec.inc @@ -0,0 +1,22 @@ +require linux.inc + +do_prepdefconfig() { + cp ${S}/arch/arm/configs/s3c24xx_simtec_defconfig ${WORKDIR}/defconfig + if test -e ${WORKDIR}/${MACHINE}-defconfig-append; then + cat ${WORKDIR}/${MACHINE}-defconfig-append >> ${WORKDIR}/defconfig + fi +} + +addtask prepdefconfig before do_configure after do_patch + +do_deploy() { + install -d ${DEPLOY_DIR_IMAGE} + install -m 0644 arch/${ARCH}/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin + cd ${DEPLOY_DIR_IMAGE} + ln -sf ${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME}.bin ${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_populate_staging after do_install |