[oe-commits] Tobias Henkel : icecc: Add dummy python version of set_icecc_env

git at git.openembedded.org git at git.openembedded.org
Tue Nov 12 16:09:27 UTC 2013


Module: openembedded-core.git
Branch: master
Commit: 365dec500166b8eb9d64c573dd7139d3a26ae445
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=365dec500166b8eb9d64c573dd7139d3a26ae445

Author: Tobias Henkel <tobias.henkel at bmw-carit.de>
Date:   Tue Nov 12 09:33:59 2013 +0100

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 at bmw-carit.de>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/icecc.bbclass | 4 ++++
 1 file changed, 4 insertions(+)

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



More information about the Openembedded-commits mailing list