f6428eacf7
It also changes the python-protobuf.hash file to be a symbolic link to ../protobuf/protobuf.hash so that both hash files don't have to be updated when protobuf is bumped. In addition, the 0001-disable-unneeded-build-dependencies.patch patch from package/python-protobuf/ is removed because it has been merged upstream. Signed-off-by: Jan Heylen <heyleke@gmail.com> [Thomas: fix the build of python-protobuf.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
26 lines
698 B
Makefile
26 lines
698 B
Makefile
################################################################################
|
|
#
|
|
# protobuf
|
|
#
|
|
################################################################################
|
|
|
|
PROTOBUF_VERSION = v3.0.0
|
|
PROTOBUF_SITE = $(call github,google,protobuf,$(PROTOBUF_VERSION))
|
|
PROTOBUF_LICENSE = BSD-3c
|
|
PROTOBUF_LICENSE_FILES = LICENSE
|
|
# no configure script
|
|
PROTOBUF_AUTORECONF = YES
|
|
|
|
# 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))
|