Merge pull request #1984 from jefferyto/host-python-package

python: add capability to install python packages for the host
This commit is contained in:
Steven Barth
2015-11-24 15:50:34 +01:00
2 changed files with 57 additions and 1 deletions

View File

@@ -138,7 +138,10 @@ define Build/InstallDev
$(INSTALL_DIR) $(STAGING_DIR)/mk/
$(INSTALL_DIR) $(1)/usr/include/ $(1)/usr/lib/ $(1)/usr/lib/pkgconfig
$(INSTALL_DIR) $(1)/usr/lib/python$(PYTHON_VERSION)/
$(INSTALL_DATA) ./files/python-package.mk $(STAGING_DIR)/mk/
$(INSTALL_DATA) \
./files/python-package.mk \
./files/python-host.mk \
$(STAGING_DIR)/mk/
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/python$(PYTHON_VERSION) \
$(1)/usr/include/