diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-01 11:08:58 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-01 23:37:01 +0100 |
commit | 1588b02d14e4ce2971ea0bbfb77d6d8607df9825 (patch) | |
tree | fc2b469c31febec00bac2c83136438f0611dd8ed /meta | |
parent | 02e455f90fbe34e3679fefb9ddc53a3ecad68322 (diff) | |
download | poky-1588b02d14e4ce2971ea0bbfb77d6d8607df9825.tar.gz |
image/image-prelink/image-mklibs/sanity: Drop pointless EXPORT_FUNCTIONS
I'm sick of seeing people adding to EXPORT_FUNCTIONS in these classes
when they clearly have no idea what it does.
Worse, these uses of it are all broken, the naming is incorrect and
they do nothing. Lets remove them and try and preserve any remaining
part of my sanity.
(From OE-Core rev: 05a2fb19f722652c5d13be911b8ed45a264bbb40)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/image-mklibs.bbclass | 3 | ||||
-rw-r--r-- | meta/classes/image-prelink.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/image.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
4 files changed, 0 insertions, 9 deletions
diff --git a/meta/classes/image-mklibs.bbclass b/meta/classes/image-mklibs.bbclass index 23456ccd96..11f082b373 100644 --- a/meta/classes/image-mklibs.bbclass +++ b/meta/classes/image-mklibs.bbclass | |||
@@ -69,6 +69,3 @@ mklibs_optimize_image() { | |||
69 | fi | 69 | fi |
70 | done | 70 | done |
71 | } | 71 | } |
72 | |||
73 | |||
74 | EXPORT_FUNCTIONS mklibs_optimize_image | ||
diff --git a/meta/classes/image-prelink.bbclass b/meta/classes/image-prelink.bbclass index 53ef47e4d4..d4bb3aec39 100644 --- a/meta/classes/image-prelink.bbclass +++ b/meta/classes/image-prelink.bbclass | |||
@@ -31,5 +31,3 @@ prelink_image () { | |||
31 | pre_prelink_size=`du -ks ${IMAGE_ROOTFS} | awk '{size = $1 ; print size }'` | 31 | pre_prelink_size=`du -ks ${IMAGE_ROOTFS} | awk '{size = $1 ; print size }'` |
32 | echo "Size after prelinking $pre_prelink_size." | 32 | echo "Size after prelinking $pre_prelink_size." |
33 | } | 33 | } |
34 | |||
35 | EXPORT_FUNCTIONS prelink_image | ||
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index ea035fe144..32df01d2b3 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -384,8 +384,6 @@ rootfs_sysroot_relativelinks () { | |||
384 | sysroot-relativelinks.py ${SDK_OUTPUT}/${SDKTARGETSYSROOT} | 384 | sysroot-relativelinks.py ${SDK_OUTPUT}/${SDKTARGETSYSROOT} |
385 | } | 385 | } |
386 | 386 | ||
387 | EXPORT_FUNCTIONS zap_empty_root_password remove_init_link do_rootfs make_zimage_symlink_relative set_image_autologin rootfs_update_timestamp rootfs_no_x_startup | ||
388 | |||
389 | do_fetch[noexec] = "1" | 387 | do_fetch[noexec] = "1" |
390 | do_unpack[noexec] = "1" | 388 | do_unpack[noexec] = "1" |
391 | do_patch[noexec] = "1" | 389 | do_patch[noexec] = "1" |
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index 69d6a246de..dd7fe4cdfb 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -25,8 +25,6 @@ def sanity_conf_update(fn, lines, version_var_name, new_version): | |||
25 | with open(fn, "w") as f: | 25 | with open(fn, "w") as f: |
26 | f.write(''.join(lines)) | 26 | f.write(''.join(lines)) |
27 | 27 | ||
28 | EXPORT_FUNCTIONS bblayers_conf_file sanity_conf_read sanity_conf_find_line sanity_conf_update | ||
29 | |||
30 | # Functions added to this variable MUST throw an exception (or sys.exit()) unless they | 28 | # Functions added to this variable MUST throw an exception (or sys.exit()) unless they |
31 | # successfully changed LCONF_VERSION in bblayers.conf | 29 | # successfully changed LCONF_VERSION in bblayers.conf |
32 | BBLAYERS_CONF_UPDATE_FUNCS += "oecore_update_bblayers" | 30 | BBLAYERS_CONF_UPDATE_FUNCS += "oecore_update_bblayers" |