summaryrefslogtreecommitdiffstats
path: root/meta/classes/icecc.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-29 15:21:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-30 00:11:51 +0100
commit2f2875f73ceec4839f1fdbbd65a216a0cc840b76 (patch)
treea62e24e1de0d60c24d0125e9675af83257e2d74d /meta/classes/icecc.bbclass
parenta4b9bf3a1e48d5a65896807597522627c6ac5e1c (diff)
downloadpoky-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/icecc.bbclass')
-rw-r--r--meta/classes/icecc.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index 80943fcf02..089d52732f 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -97,7 +97,7 @@ ICECC_SYSTEM_CLASS_BL += "\
97 image \ 97 image \
98 " 98 "
99 99
100def icecc_dep_prepend(d): 100def get_icecc_dep(d):
101 # INHIBIT_DEFAULT_DEPS doesn't apply to the patch command. Whether or not 101 # INHIBIT_DEFAULT_DEPS doesn't apply to the patch command. Whether or not
102 # we need that built is the responsibility of the patch function / class, not 102 # we need that built is the responsibility of the patch function / class, not
103 # the application. 103 # the application.
@@ -105,7 +105,7 @@ def icecc_dep_prepend(d):
105 return "icecc-create-env-native" 105 return "icecc-create-env-native"
106 return "" 106 return ""
107 107
108DEPENDS_prepend = "${@icecc_dep_prepend(d)} " 108DEPENDS_prepend = "${@get_icecc_dep(d)} "
109 109
110get_cross_kernel_cc[vardepsexclude] += "KERNEL_CC" 110get_cross_kernel_cc[vardepsexclude] += "KERNEL_CC"
111def get_cross_kernel_cc(bb,d): 111def get_cross_kernel_cc(bb,d):