[meta-intel] [meta-inte-iot-middleware] [PATCH] upm: Fix packageconfig for upm

Alejandro Hernandez alejandro.hernandez at linux.intel.com
Wed Apr 13 15:32:43 PDT 2016


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 <alejandro.hernandez at linux.intel.com>
---
 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



More information about the meta-intel mailing list