summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kershaw / Dragorn <dragorn@kismetwireless.net>2018-04-30 17:14:47 -0400
committerRosen Penev <rosenp@gmail.com>2020-01-23 23:22:58 -0800
commit2750abb5bccbd712dee808645dc9a0045acd8833 (patch)
tree469ab369413095f1ca7ceadcccc8fcb4397530b0
parentfa969ac0078bbff9b6f38ced6d5c88f9afacec95 (diff)
Enable the host tools on protobuf-c (protoc-c specifically)
Signed-Off-By: Mike Kershaw <dragorn@kismetwireless.net> (cherry-picked from 6915059e35d74f8daede429df74d9635b2a6c9f0)
-rw-r--r--libs/protobuf-c/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/protobuf-c/Makefile b/libs/protobuf-c/Makefile
index e2d17c06e..769cea9b5 100644
--- a/libs/protobuf-c/Makefile
+++ b/libs/protobuf-c/Makefile
@@ -17,6 +17,8 @@ PKG_SOURCE_URL:=https://github.com/protobuf-c/protobuf-c.git
PKG_SOURCE_PROTO:=git
PKG_SOURCE_VERSION:=$(PKG_VERSION)
+PKG_BUILD_DEPENDS:=protobuf-c/host
+
PKG_INSTALL:=1
PKG_FIXUP:=autoreconf
@@ -25,6 +27,7 @@ PKG_LICENSE:=BSD-2c
PKG_MAINTAINER:=Jacob Siverskog <jacob@teenageengineering.com>
include $(INCLUDE_DIR)/package.mk
+include $(INCLUDE_DIR)/host-build.mk
define Package/libprotobuf-c
TITLE:=Protocol Buffers library
@@ -60,3 +63,5 @@ define Package/libprotobuf-c/install
endef
$(eval $(call BuildPackage,libprotobuf-c))
+$(eval $(call HostBuild))
+