]> code.ossystems Code Review - openembedded-core.git/commitdiff
image/image-prelink/image-mklibs/sanity: Drop pointless EXPORT_FUNCTIONS
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Apr 2014 10:08:58 +0000 (11:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 1 Apr 2014 10:45:00 +0000 (11:45 +0100)
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.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image-mklibs.bbclass
meta/classes/image-prelink.bbclass
meta/classes/image.bbclass
meta/classes/sanity.bbclass

index 23456ccd96f39fa467d83b002baeda257661e0b5..11f082b373440db62de4f0358a33560a3ce68164 100644 (file)
@@ -69,6 +69,3 @@ mklibs_optimize_image() {
                fi
        done
 }
-
-
-EXPORT_FUNCTIONS mklibs_optimize_image
index 53ef47e4d476c83a904b34781a78320087b9a256..d4bb3aec39cebff41723a4c67e4cfcb699a95568 100644 (file)
@@ -31,5 +31,3 @@ prelink_image () {
        pre_prelink_size=`du -ks ${IMAGE_ROOTFS} | awk '{size = $1 ; print size }'`
        echo "Size after prelinking $pre_prelink_size."
 }
-
-EXPORT_FUNCTIONS prelink_image
index ea035fe144ceb3cb13544c1c1fc92902114c5daa..32df01d2b38097dffbbf43d6498427f773617e3b 100644 (file)
@@ -384,8 +384,6 @@ rootfs_sysroot_relativelinks () {
        sysroot-relativelinks.py ${SDK_OUTPUT}/${SDKTARGETSYSROOT}
 }
 
-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
-
 do_fetch[noexec] = "1"
 do_unpack[noexec] = "1"
 do_patch[noexec] = "1"
index 69d6a246de5b92e4ff62615aaf115f271812d6f7..dd7fe4cdfbf8e69281fc548bb316799d0f33a63f 100644 (file)
@@ -25,8 +25,6 @@ def sanity_conf_update(fn, lines, version_var_name, new_version):
     with open(fn, "w") as f:
         f.write(''.join(lines))
 
-EXPORT_FUNCTIONS bblayers_conf_file sanity_conf_read sanity_conf_find_line sanity_conf_update
-
 # Functions added to this variable MUST throw an exception (or sys.exit()) unless they
 # successfully changed LCONF_VERSION in bblayers.conf
 BBLAYERS_CONF_UPDATE_FUNCS += "oecore_update_bblayers"