summaryrefslogtreecommitdiff
path: root/meta/classes/icecc.bbclass
diff options
context:
space:
mode:
authorTobias Henkel <tobias.henkel@bmw-carit.de>2013-11-12 09:33:59 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-11-12 16:00:19 +0000
commit365dec500166b8eb9d64c573dd7139d3a26ae445 (patch)
tree188e1bb2a21de3b5f2df1e941ce7cad13d86e81a /meta/classes/icecc.bbclass
parent0f7dc969e64bc7563e208a4fb7d3ebe7c4e69e79 (diff)
downloadopenembedded-core-365dec500166b8eb9d64c573dd7139d3a26ae445.tar.gz
openembedded-core-365dec500166b8eb9d64c573dd7139d3a26ae445.tar.bz2
openembedded-core-365dec500166b8eb9d64c573dd7139d3a26ae445.zip
icecc: Add dummy python version of set_icecc_env
Bitbakes prepend mechanism for the tasks disregards the type of the function. Thus bitbaking recipes using python functions for configure, compile or install steps fail due to the missing python version of set_icecc_env. Assuming that icecc doesn't need to be used in such situations adding a dummy python version of set_icecc_env fixes this. Signed-off-by: Tobias Henkel <tobias.henkel@bmw-carit.de> 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, 4 insertions, 0 deletions
diff --git a/meta/classes/icecc.bbclass b/meta/classes/icecc.bbclass
index d4369656e6..2032282463 100644
--- a/meta/classes/icecc.bbclass
+++ b/meta/classes/icecc.bbclass
@@ -188,6 +188,10 @@ def icc_get_and_check_tool(bb, d, tool):
else:
return t
+def set_icecc_env():
+ # dummy python version of set_icecc_env
+ return
+
set_icecc_env() {
if [ "x${ICECC_DISABLED}" != "x" ]
then