|
@@ -8,18 +8,18 @@
|
8
|
8
|
include $(TOPDIR)/rules.mk
|
9
|
9
|
|
10
|
10
|
PKG_NAME:=protobuf
|
11
|
|
-PKG_VERSION:=2.5.0
|
|
11
|
+PKG_VERSION:=2.6.1
|
12
|
12
|
PKG_RELEASE:=1
|
13
|
13
|
|
14
|
14
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
15
|
|
-PKG_SOURCE_URL:=http://protobuf.googlecode.com/files
|
16
|
|
-PKG_MD5SUM:=a72001a9067a4c2c4e0e836d0f92ece4
|
|
15
|
+PKG_SOURCE_URL:=https://github.com/google/protobuf/releases/download/v$(PKG_VERSION)
|
|
16
|
+PKG_MD5SUM:=11aaac2d704eef8efd1867a807865d85
|
17
|
17
|
|
18
|
18
|
PKG_LICENSE:=BSD-3-Clause
|
19
|
19
|
PKG_LICENSE_FILES:=LICENSE
|
20
|
20
|
|
21
|
21
|
PKG_BUILD_DEPENDS:=protobuf/host
|
22
|
|
-PKG_USE_MIPS16:=0
|
|
22
|
+PKG_USE_MIPS16:=0# MIPS16 prevents protobuf's usage of the 'sync' asm-opcode
|
23
|
23
|
|
24
|
24
|
PKG_INSTALL:=1
|
25
|
25
|
|
|
@@ -41,15 +41,7 @@ define Package/protobuf/description
|
41
|
41
|
of its internal RPC protocols and file formats.
|
42
|
42
|
endef
|
43
|
43
|
|
44
|
|
-define Host/Compile
|
45
|
|
- $(MAKE) -C $(HOST_BUILD_DIR)
|
46
|
|
-endef
|
47
|
|
-
|
48
|
|
-define Host/Install
|
49
|
|
- $(MAKE) -C $(HOST_BUILD_DIR) install
|
50
|
|
-endef
|
51
|
|
-
|
52
|
|
-CONFIGURE_ARGS += --with-protoc=$(HOST_BUILD_DIR)/src/protoc
|
|
44
|
+CONFIGURE_ARGS += --with-protoc=$(STAGING_DIR_HOST)/bin/protoc
|
53
|
45
|
|
54
|
46
|
define Build/InstallDev
|
55
|
47
|
$(INSTALL_DIR) \
|