[OE-core] [PATCH] python2: Add PACKAGECONFIG for tkinter to support tk from meta-oe

Jate Sujjavanich jatedev at gmail.com
Mon Jul 14 14:46:43 UTC 2014


Previously, the python recipe did not have a way to add a DEPENDS on
tk.

This makes the option available for users of the meta-oe/meta-oe layer.

Signed-off-by: Jate Sujjavanich <jatedev at gmail.com>
---
 meta/recipes-devtools/python/python_2.7.3.bb |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb
index 0d64172..cc54296 100644
--- a/meta/recipes-devtools/python/python_2.7.3.bb
+++ b/meta/recipes-devtools/python/python_2.7.3.bb
@@ -42,6 +42,8 @@ S = "${WORKDIR}/Python-${PV}"
 
 inherit autotools multilib_header python-dir pythonnative
 
+PACKAGECONFIG[tkinter] = ",,tk,tk tk-lib"
+
 # The 3 lines below are copied from the libffi recipe, ctypes ships its own copy of the libffi sources
 #Somehow gcc doesn't set __SOFTFP__ when passing -mfloatabi=softp :(
 TARGET_CC_ARCH_append_armv6 = " -D__SOFTFP__"
-- 
1.7.9.5




More information about the Openembedded-core mailing list