Migrate protobuf build from autotools to cmake. Migrate protobuf-python to use pypi sources which are now required for setup.py builds: https://github.com/protocolbuffers/protobuf/tree/v28.1/python#building-from-setuppy The BR2_or1k workaround is removed, as protobuf depends on libabseil-cpp, which isn't available on OpenRISC. The BR2_TOOLCHAIN_HAS_GCC_BUG_85180 workaround is removed, as this workaround is for Microblaze, and protobuf depends on libabseil-cpp, which isn't avialable on Microblaze. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [Arnout: remove netbird whch was accidentally added] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
16 lines
622 B
Makefile
16 lines
622 B
Makefile
################################################################################
|
|
#
|
|
# python-protobuf
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_PROTOBUF_VERSION = $(PROTOBUF_VERSION)
|
|
PYTHON_PROTOBUF_SOURCE = protobuf-5.$(PYTHON_PROTOBUF_VERSION).tar.gz
|
|
PYTHON_PROTOBUF_SITE = https://files.pythonhosted.org/packages/3c/0b/7a997c8939f698d72bdea14d57116e43d3051fffb3b2964c30938c4a08e6
|
|
PYTHON_PROTOBUF_LICENSE = BSD-3-Clause
|
|
PYTHON_PROTOBUF_LICENSE_FILES = LICENSE
|
|
PYTHON_PROTOBUF_DEPENDENCIES = host-protobuf
|
|
PYTHON_PROTOBUF_SETUP_TYPE = setuptools
|
|
|
|
$(eval $(python-package))
|