diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-06 09:55:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-07 21:54:11 +0100 |
commit | 8914bc77b4381793ee3b144b22b1f46215a37d31 (patch) | |
tree | 5d26b6fe2b9d51ed22632b6d95f6c96411645f67 /meta/classes | |
parent | 7c1215e82198a15bbd2202c7db9805e4331730ff (diff) | |
download | poky-8914bc77b4381793ee3b144b22b1f46215a37d31.tar.gz |
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>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/utils.bbclass | 5 |
1 files changed, 0 insertions, 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() { | |||
30 | silent="" | 30 | silent="" |
31 | require_static="" | 31 | require_static="" |
32 | require_shared="" | 32 | require_shared="" |
33 | staging_install="" | ||
34 | while [ "$#" -gt 0 ]; do | 33 | while [ "$#" -gt 0 ]; do |
35 | case "$1" in | 34 | case "$1" in |
36 | -C) | 35 | -C) |
@@ -62,10 +61,6 @@ oe_libinstall() { | |||
62 | if [ -z "$destpath" ]; then | 61 | if [ -z "$destpath" ]; then |
63 | bbfatal "oe_libinstall: no destination path specified" | 62 | bbfatal "oe_libinstall: no destination path specified" |
64 | fi | 63 | fi |
65 | if echo "$destpath/" | egrep '^${STAGING_LIBDIR}/' >/dev/null | ||
66 | then | ||
67 | staging_install=1 | ||
68 | fi | ||
69 | 64 | ||
70 | __runcmd () { | 65 | __runcmd () { |
71 | if [ -z "$silent" ]; then | 66 | if [ -z "$silent" ]; then |