Browse Source

ola: implement Host/Install for ola_protoc_plugin

Should fix build with SDK on buildbots.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
lilik-openwrt-22.03
Daniel Golle 7 years ago
parent
commit
c10b5a3ff7
1 changed files with 4 additions and 3 deletions
  1. +4
    -3
      net/ola/Makefile

+ 4
- 3
net/ola/Makefile View File

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


Loading…
Cancel
Save