From 365dec500166b8eb9d64c573dd7139d3a26ae445 Mon Sep 17 00:00:00 2001 From: Tobias Henkel Date: Tue, 12 Nov 2013 09:33:59 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/icecc.bbclass | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/classes/icecc.bbclass') 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 -- cgit 1.2.3-korg