From ad1d97d8e63472249aa28f38b65d0e441f7baa4d Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sat, 10 Jan 2015 23:58:36 +0100 Subject: [PATCH] protobuf-c: use generic autoreconf fixup Invoke the generic autoreconf fixup instead of calling the shipped autogen.sh. This ensures that proper variants of libtoolize, autoconf, automake etc. are used, otherwise it is not possible to rebuild protobuf-c in the SDK env. The change requires backport to BB as it currently blocks the rebuild of ocerv. Signed-off-by: Jo-Philipp Wich --- libs/protobuf-c/Makefile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libs/protobuf-c/Makefile b/libs/protobuf-c/Makefile index 49aa9f468..f4af211a8 100644 --- a/libs/protobuf-c/Makefile +++ b/libs/protobuf-c/Makefile @@ -18,6 +18,7 @@ PKG_SOURCE_PROTO:=git PKG_SOURCE_VERSION:=$(PKG_VERSION) PKG_INSTALL:=1 +PKG_FIXUP:=autoreconf PKG_LICENSE:=BSD-2c @@ -44,11 +45,6 @@ CONFIGURE_ARGS += \ --enable-static \ --disable-protoc -define Build/Configure - cd $(PKG_BUILD_DIR) && ./autogen.sh - $(call Build/Configure/Default) -endef - define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include/ $(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/