utils: Drop unused variable staging_install from oe_libinstall

Remove unused variable/code.

(From OE-Core rev: 76ade5a2a55eda2975dfa5d6a30ac4cb74421567)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Richard Purdie
2021-09-06 09:55:16 +01:00
parent 7c1215e821
commit 8914bc77b4

View 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