69e64c42b7
This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS,host))/$(eval $(host-generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS,host))/$(eval $(host-autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS,host))/$(eval $(host-cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
22 lines
590 B
Makefile
22 lines
590 B
Makefile
#############################################################
|
|
#
|
|
# protobuf
|
|
#
|
|
#############################################################
|
|
PROTOBUF_VERSION = 2.4.1
|
|
PROTOBUF_SOURCE = protobuf-$(PROTOBUF_VERSION).tar.gz
|
|
PROTOBUF_SITE = http://protobuf.googlecode.com/files/
|
|
|
|
# N.B. Need to use host protoc during cross compilation.
|
|
PROTOBUF_DEPENDENCIES = host-protobuf
|
|
PROTOBUF_CONF_OPT = --with-protoc=$(HOST_DIR)/usr/bin/protoc
|
|
|
|
PROTOBUF_INSTALL_STAGING = YES
|
|
|
|
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
|
PROTOBUF_DEPENDENCIES += zlib
|
|
endif
|
|
|
|
$(eval $(call AUTOTARGETS))
|
|
$(eval $(host-autotools-package))
|