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:34:18 +0100 |
commit | d8a3cd563040e3df35f69cbebc9b0b14e5d12695 (patch) | |
tree | 8163cd1d8bebe74079d4d59b873cdf6a2294819a /meta/classes/srec.bbclass | |
parent | e6cf0ba96a2a3e23cd7a3474711ae154db8ee9c7 (diff) | |
download | poky-d8a3cd563040e3df35f69cbebc9b0b14e5d12695.tar.gz |
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
(From OE-Core rev: fa8779452de5e1a8ded92bdf4a952158fda6160a)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 390d5abb3a..0000000000 --- a/meta/classes/srec.bbclass +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | # | ||
2 | # Creates .srec files from images. | ||
3 | # | ||
4 | # Useful for loading with Yamon. | ||
5 | |||
6 | # Define SREC_VMAADDR in your machine.conf. | ||
7 | |||
8 | 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" | ||
9 | |||
10 | # Do not build srec files for these types of images: | ||
11 | SREC_SKIP = "tar" | ||
12 | |||
13 | do_srec[nostamp] = "1" | ||
14 | |||
15 | do_srec () { | ||
16 | if [ ${SREC_VMAADDR} = "" ] ; then | ||
17 | bbfatal Cannot do_srec without SREC_VMAADDR defined. | ||
18 | fi | ||
19 | for type in ${IMAGE_FSTYPES}; do | ||
20 | for skiptype in ${SREC_SKIP}; do | ||
21 | if [ $type = $skiptype ] ; then continue 2 ; fi | ||
22 | done | ||
23 | ${SREC_CMD} | ||
24 | done | ||
25 | return 0 | ||
26 | } | ||
27 | |||
28 | addtask srec after do_rootfs before do_build | ||