[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 10:51:26 UTC 2013


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

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 a3e8f9b..99749d3 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