iotivity: force use of python2 for scons
authorEneas U de Queiroz <redacted>
Wed, 14 Aug 2019 11:52:41 +0000 (08:52 -0300)
committerEneas U de Queiroz <redacted>
Wed, 14 Aug 2019 12:41:29 +0000 (09:41 -0300)
iotivity's scons build script is not compatible with python3, so use
python2.7 from python/host to run it.

Signed-off-by: Eneas U de Queiroz <redacted>
net/iotivity/Makefile

index 9158831ce6379c1f48119b08d3513fa18b2e1a71..cbaf945d6633b520efe53d0ed37a767fc221c194 100644 (file)
@@ -16,7 +16,7 @@ PKG_SOURCE_URL:=http://mirrors.kernel.org/${PKG_NAME}/${PKG_VERSION}/
 PKG_HASH:=7dcd9f0f48263c6b27a2c3d085dd7278b5c0feed1dfec8872a04899707fa23d8
 PKG_USE_MIPS16:=0
 
-PKG_BUILD_DEPENDS:=boost
+PKG_BUILD_DEPENDS:=boost python/host
 
 PKG_MAINTAINER:=Hauke Mehrtens <hauke.mehrtens@intel.com>
 
@@ -227,7 +227,7 @@ endef
 define Build/Configure
        (cd $(PKG_BUILD_DIR); \
                $(SCONS_VARS) \
-               scons \
+               python2.7 $(STAGING_DIR_HOST)/bin/scons.py \
                        $(SCONS_OPTIONS) \
        )
 endef
git clone https://git.99rst.org/PROJECT