From 76ade5a2a55eda2975dfa5d6a30ac4cb74421567 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 6 Sep 2021 09:55:16 +0100 Subject: [PATCH] utils: Drop unused variable staging_install from oe_libinstall Remove unused variable/code. Signed-off-by: Richard Purdie --- meta/classes/utils.bbclass | 5 ----- 1 file changed, 5 deletions(-) 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 -- 2.40.1