]> code.ossystems Code Review - openembedded-core.git/commitdiff
icecc: Add dummy python version of set_icecc_env
authorTobias Henkel <tobias.henkel@bmw-carit.de>
Tue, 12 Nov 2013 08:33:59 +0000 (09:33 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Nov 2013 16:00:19 +0000 (16:00 +0000)
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>
meta/classes/icecc.bbclass

index d4369656e6c71ed3bcb27f2a164c7a2b1223966f..2032282463bde30b05a64b9322ba936e516d1ea2 100644 (file)
@@ -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