diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2011-07-15 14:03:04 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-07-19 17:33:56 +0100 |
commit | fa8779452de5e1a8ded92bdf4a952158fda6160a (patch) | |
tree | 1c8bc15f1133fcb5def0f21d0a86a9852892b883 /meta/classes/srec.bbclass | |
parent | 7416bdaf01daaeb183b1cc8d13a043e244c464e1 (diff) | |
download | openembedded-core-fa8779452de5e1a8ded92bdf4a952158fda6160a.tar.gz openembedded-core-fa8779452de5e1a8ded92bdf4a952158fda6160a.tar.bz2 openembedded-core-fa8779452de5e1a8ded92bdf4a952158fda6160a.tar.xz openembedded-core-fa8779452de5e1a8ded92bdf4a952158fda6160a.zip |
classes: remove classes that don't belong in oe-core
These classes are not used within oe-core and really belong in an upper
layer that makes use of them, if they are still useful:
* mozilla.bbclass
* openmoko*.bbclass
* srec.bbclass
* xfce.bbclass
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'meta/classes/srec.bbclass')
-rw-r--r-- | meta/classes/srec.bbclass | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/meta/classes/srec.bbclass b/meta/classes/srec.bbclass deleted file mode 100644 index 390d5abb3..000000000 --- a/meta/classes/srec.bbclass +++ /dev/null @@ -1,28 +0,0 @@ -# -# Creates .srec files from images. -# -# Useful for loading with Yamon. - -# Define SREC_VMAADDR in your machine.conf. - -SREC_CMD = "${TARGET_PREFIX}objcopy -O srec -I binary --adjust-vma ${SREC_VMAADDR} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.${type} ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.${type}.srec" - -# Do not build srec files for these types of images: -SREC_SKIP = "tar" - -do_srec[nostamp] = "1" - -do_srec () { - if [ ${SREC_VMAADDR} = "" ] ; then - bbfatal Cannot do_srec without SREC_VMAADDR defined. - fi - for type in ${IMAGE_FSTYPES}; do - for skiptype in ${SREC_SKIP}; do - if [ $type = $skiptype ] ; then continue 2 ; fi - done - ${SREC_CMD} - done - return 0 -} - -addtask srec after do_rootfs before do_build |