From: Richard Purdie Date: Mon, 6 Sep 2021 08:55:16 +0000 (+0100) Subject: utils: Drop unused variable staging_install from oe_libinstall X-Git-Tag: yocto-3.4~165 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=76ade5a2a55eda2975dfa5d6a30ac4cb74421567;p=openembedded-core.git utils: Drop unused variable staging_install from oe_libinstall Remove unused variable/code. Signed-off-by: Richard Purdie --- diff --git a/meta/classes/utils.bbclass b/meta/classes/utils.bbclass index 072ea1f63c..ab06019560 100644 --- a/meta/classes/utils.bbclass +++ b/meta/classes/utils.bbclass @@ -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