summaryrefslogtreecommitdiffstats
path: root/meta/classes
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
parent54f52bcd339fc2e296dfe2f4d4d5cf2b07dfa16a (diff)
downloadpoky-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')
-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):
188 else: 188 else:
189 return t 189 return t
190 190
191def set_icecc_env():
192 # dummy python version of set_icecc_env
193 return
194
191set_icecc_env() { 195set_icecc_env() {
192 if [ "x${ICECC_DISABLED}" != "x" ] 196 if [ "x${ICECC_DISABLED}" != "x" ]
193 then 197 then