Merge pull request #1020 from commodo/python-updates

python: revert previous patch and add a filespec
This commit is contained in:
Steven Barth 2015-03-11 10:35:45 +01:00
commit 58245f257f

View file

@ -209,8 +209,8 @@ define PyPackage/python-base/install
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* $(1)/usr/lib/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpython$(PYTHON_VERSION).so* $(1)/usr/lib/
endef endef
# Dummy rule so that the package gets picked up define PyPackage/python/filespec
define Package/python/install -|$(PYTHON_PKG_DIR)
endef endef
HOST_CFLAGS+= \ HOST_CFLAGS+= \
@ -241,7 +241,7 @@ $(foreach package, $(PYTHON_PACKAGES), \
$(eval $(call PyPackage,python-base)) $(eval $(call PyPackage,python-base))
$(eval $(call PyPackage,python-light)) $(eval $(call PyPackage,python-light))
#$(eval $(call PyPackage,python)) $(eval $(call PyPackage,python))
$(eval $(call BuildPackage,python-base)) $(eval $(call BuildPackage,python-base))
$(eval $(call BuildPackage,python-light)) $(eval $(call BuildPackage,python-light))