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>
This commit is contained in:
Richard Purdie
2021-07-29 15:21:56 +01:00
parent a4b9bf3a1e
commit 2f2875f73c
3 changed files with 7 additions and 7 deletions

View File

@@ -66,7 +66,7 @@ oe_runmake() {
}
def base_dep_prepend(d):
def get_base_dep(d):
if d.getVar('INHIBIT_DEFAULT_DEPS', False):
return ""
return "${BASE_DEFAULT_DEPS}"
@@ -74,8 +74,8 @@ def base_dep_prepend(d):
BASE_DEFAULT_DEPS = "virtual/${TARGET_PREFIX}gcc virtual/${TARGET_PREFIX}compilerlibs virtual/libc"
BASEDEPENDS = ""
BASEDEPENDS_class-target = "${@base_dep_prepend(d)}"
BASEDEPENDS_class-nativesdk = "${@base_dep_prepend(d)}"
BASEDEPENDS_class-target = "${@get_base_dep(d)}"
BASEDEPENDS_class-nativesdk = "${@get_base_dep(d)}"
DEPENDS_prepend="${BASEDEPENDS} "