2d19a0b332
We need to set -Dprotobuf_BUILD_LIBUPB=ON for host-protobuf now as some libupb headers now appear to be required. Also set the new -Dprotobuf_LOCAL_DEPENDENCIES_ONLY=ON option to ensure cmake doesn't try to download dependencies. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
16 lines
622 B
Makefile
16 lines
622 B
Makefile
################################################################################
|
|
#
|
|
# python-protobuf
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_PROTOBUF_VERSION = $(PROTOBUF_VERSION)
|
|
PYTHON_PROTOBUF_SOURCE = protobuf-6.$(PYTHON_PROTOBUF_VERSION).tar.gz
|
|
PYTHON_PROTOBUF_SITE = https://files.pythonhosted.org/packages/34/44/e49ecff446afeec9d1a66d6bbf9adc21e3c7cea7803a920ca3773379d4f6
|
|
PYTHON_PROTOBUF_LICENSE = BSD-3-Clause
|
|
PYTHON_PROTOBUF_LICENSE_FILES = LICENSE
|
|
PYTHON_PROTOBUF_DEPENDENCIES = host-protobuf
|
|
PYTHON_PROTOBUF_SETUP_TYPE = setuptools
|
|
|
|
$(eval $(python-package))
|