Previously PACKAGECONFIG was broken on the upm recipe
since in all cases it disabled both nodejs and python
this patch fixes this making it possible to enable either of them

Signed-off-by: Alejandro Hernandez <[email protected]>
---
 recipes-devtools/upm/upm_0.4.1.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-devtools/upm/upm_0.4.1.bb 
b/recipes-devtools/upm/upm_0.4.1.bb
index fa79529..368efe3 100644
--- a/recipes-devtools/upm/upm_0.4.1.bb
+++ b/recipes-devtools/upm/upm_0.4.1.bb
@@ -18,5 +18,5 @@ inherit distutils-base pkgconfig python-dir cmake
 FILES_${PN}-doc += "${datadir}/upm/examples/"
 
 PACKAGECONFIG ??= "python nodejs"
-PACKAGECONFIG[python] = "-DBUILDSWIGPYTHON=OFF, -DBUILDSWIGPYTHON=OFF, 
swig-native python"
-PACKAGECONFIG[nodejs] = "-DBUILDSWIGNODE=OFF, -DBUILDSWIGNODE=OFF, swig-native 
nodejs"
+PACKAGECONFIG[python] = "-DBUILDSWIGPYTHON=ON, -DBUILDSWIGPYTHON=OFF, 
swig-native python"
+PACKAGECONFIG[nodejs] = "-DBUILDSWIGNODE=ON, -DBUILDSWIGNODE=OFF, swig-native 
nodejs"
-- 
2.6.2

-- 
_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to