1872903d86
Both packages are coupled, so both are bumped and build-tested. The atomics' support patch is no longer needed, and neither is the autoreconf option, and SPARC64 is no longer broken. To make sure of this, one config of each of the following archs was tested (base defconfig in parens): - PowerPC (qemu_ppc_g3beige_defconfig) - SPARC (qemu_sparc_ss10_defconfig) - SPARC64 (qemu_sparc64_sun4u_defconfig) Signed-off-by: Mario J. Rugiero <mrugiero@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
28 lines
885 B
Makefile
28 lines
885 B
Makefile
################################################################################
|
|
#
|
|
# protobuf
|
|
#
|
|
################################################################################
|
|
|
|
# When bumping this package, make sure to also verify if the
|
|
# python-protobuf package still works, as they share the same
|
|
# version/site variables.
|
|
PROTOBUF_VERSION = 3.2.0
|
|
PROTOBUF_SOURCE = protobuf-cpp-$(PROTOBUF_VERSION).tar.gz
|
|
PROTOBUF_SITE = https://github.com/google/protobuf/releases/download/v$(PROTOBUF_VERSION)
|
|
PROTOBUF_LICENSE = BSD-3-Clause
|
|
PROTOBUF_LICENSE_FILES = LICENSE
|
|
|
|
# N.B. Need to use host protoc during cross compilation.
|
|
PROTOBUF_DEPENDENCIES = host-protobuf
|
|
PROTOBUF_CONF_OPTS = --with-protoc=$(HOST_DIR)/usr/bin/protoc
|
|
|
|
PROTOBUF_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
PROTOBUF_DEPENDENCIES += zlib
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|