summaryrefslogtreecommitdiffstats
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:29 +0000
commitbe181972e4f65a0be2e97c27240824f45536fc91 (patch)
treef3e7bdce92e8a0f5dbb34506e154dad4abec179f /meta/classes/icecc.bbclass
parent54f52bcd339fc2e296dfe2f4d4d5cf2b07dfa16a (diff)
downloadast2050-yocto-poky-be181972e4f65a0be2e97c27240824f45536fc91.zip
ast2050-yocto-poky-be181972e4f65a0be2e97c27240824f45536fc91.tar.gz
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. (From OE-Core rev: 365dec500166b8eb9d64c573dd7139d3a26ae445) 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 d436965..2032282 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
OpenPOWER on IntegriCloud