]> code.ossystems Code Review - openembedded-core.git/commitdiff
utils: Drop unused variable staging_install from oe_libinstall
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Sep 2021 08:55:16 +0000 (09:55 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 6 Sep 2021 08:55:18 +0000 (09:55 +0100)
Remove unused variable/code.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/utils.bbclass

index 072ea1f63c76f72c2410482fd80e98f68626b621..ab060195601b37379385e579cf1bc7e022f41a1b 100644 (file)
@@ -30,7 +30,6 @@ oe_libinstall() {
        silent=""
        require_static=""
        require_shared=""
-       staging_install=""
        while [ "$#" -gt 0 ]; do
                case "$1" in
                -C)
@@ -62,10 +61,6 @@ oe_libinstall() {
        if [ -z "$destpath" ]; then
                bbfatal "oe_libinstall: no destination path specified"
        fi
-       if echo "$destpath/" | egrep '^${STAGING_LIBDIR}/' >/dev/null
-       then
-               staging_install=1
-       fi
 
        __runcmd () {
                if [ -z "$silent" ]; then