diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-29 15:21:56 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-07-30 00:11:51 +0100 |
commit | 2f2875f73ceec4839f1fdbbd65a216a0cc840b76 (patch) | |
tree | a62e24e1de0d60c24d0125e9675af83257e2d74d /meta/classes/autotools.bbclass | |
parent | a4b9bf3a1e48d5a65896807597522627c6ac5e1c (diff) | |
download | poky-2f2875f73ceec4839f1fdbbd65a216a0cc840b76.tar.gz |
autotools/base/icecc: Remove prepend from function names
Using prepend as part of a function name is a poor choice. Whilst we're
about to make the syntax explict, improve the names anyway making the
conversion easier and the intent clear that this isn't an override.
(From OE-Core rev: 9d002acae720b0a8e96a6734424a142b86880461)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/autotools.bbclass')
-rw-r--r-- | meta/classes/autotools.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 9dc8ebdaa7..77d90a3df5 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -1,4 +1,4 @@ | |||
1 | def autotools_dep_prepend(d): | 1 | def get_autotools_dep(d): |
2 | if d.getVar('INHIBIT_AUTOTOOLS_DEPS'): | 2 | if d.getVar('INHIBIT_AUTOTOOLS_DEPS'): |
3 | return '' | 3 | return '' |
4 | 4 | ||
@@ -19,7 +19,7 @@ def autotools_dep_prepend(d): | |||
19 | 19 | ||
20 | return deps | 20 | return deps |
21 | 21 | ||
22 | DEPENDS_prepend = "${@autotools_dep_prepend(d)} " | 22 | DEPENDS_prepend = "${@get_autotools_dep(d)} " |
23 | 23 | ||
24 | inherit siteinfo | 24 | inherit siteinfo |
25 | 25 | ||