Skip to contentSkip to conversation

lowpan-tools: input python library and executable file dir

PATCH In review [email protected] 2 participants 2 messages Oct 25, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lowpan-tools: input python library and executable file dir

From: Roy Li <[email protected]>

input python library and executable file dir, or else it will use the default value /usr/lib/python*, which is wrong when enable multilibs

---
 meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb +4 -1
index cf78b45..6e603ac 100644
@@ -13,7 +13,10 @@ SRCREV = "a1d9615adde6d1a568813c24a128273ed755af04"
 
 S = "${WORKDIR}/git"
 
-inherit autotools
+inherit autotools python-dir
+
+EXTRA_OECONF += "am_cv_python_pythondir=${PYTHON_SITEPACKAGES_DIR} \
+               am_cv_python_pyexecdir=${PYTHON_SITEPACKAGES_DIR}"
 
 do_install_append() {
 	rmdir ${D}${localstatedir}/run
Signature · 1 line
1.7.10.4
#1 lore raw

meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb SRCREV = "a1d9615adde6d1a568813c24a128273ed755af04" · line 19

Quoted 3 lines · On Thu, Oct 24, 2013 at 11:04 PM, <[email protected]> wrote:
meta-networking/recipes-support/lowpan-tools/lowpan-tools_git.bb +2 -0
+EXTRA_OECONF += "am_cv_python_pythondir=${PYTHON_SITEPACKAGES_DIR} \
+               am_cv_python_pyexecdir=${PYTHON_SITEPACKAGES_DIR}"

use CACHED_CONFIGUREVARS variable to pass the am_cv_* autotools variables.