ola: implement Host/Install for ola_protoc_plugin
authorDaniel Golle <daniel@makrotopia.org>
Thu, 21 Jun 2018 09:55:02 +0000 (11:55 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sat, 23 Jun 2018 09:12:22 +0000 (11:12 +0200)
Should fix build with SDK on buildbots.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
net/ola/Makefile

index 75016d083dfd11f1aff0a51b91a1c31979d2bef7..ec84724c8af1544350ae79f45152205e6d5ee4d8 100644 (file)
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=ola
 PKG_VERSION:=0.10.6
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE_PROTO:=git
 PKG_SOURCE_URL:=https://github.com/OpenLightingProject/ola.git
@@ -54,7 +54,7 @@ CONFIGURE_ARGS += \
        --disable-unittests \
        --disable-http \
        --without-dns-sd \
-        --with-ola-protoc-plugin=$(HOST_BUILD_DIR)/protoc/ola_protoc_plugin
+       --with-ola-protoc-plugin=$(STAGING_DIR_HOSTPKG)/bin/ola_protoc_plugin
 
 HOST_CONFIGURE_ARGS += \
        --disable-all-plugins \
@@ -75,8 +75,9 @@ define Host/Compile
                $(MAKE) protoc/ola_protoc_plugin
 endef
 
-# nothing to install for host part
 define Host/Install
+       $(INSTALL_DIR) $(STAGING_DIR_HOSTPKG)/bin
+       $(CP) $(HOST_BUILD_DIR)/protoc/ola_protoc_plugin $(STAGING_DIR_HOSTPKG)/bin
 endef