[source] lzo: add host build

LEDE Commits lede-commits at lists.infradead.org
Wed May 24 06:38:25 PDT 2017


stintel pushed a commit to source.git, branch kodi:
https://git.lede-project.org/ae3f922c604d1fbf604649768a41a6dcbedec912

commit ae3f922c604d1fbf604649768a41a6dcbedec912
Author: Stijn Tintel <stijn at linux-ipv6.be>
AuthorDate: Sat Mar 11 09:25:41 2017 +0100

    lzo: add host build
    
    Signed-off-by: Stijn Tintel <stijn at linux-ipv6.be>
---
 package/libs/lzo/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/libs/lzo/Makefile b/package/libs/lzo/Makefile
index 8d85e46..e360ef5 100644
--- a/package/libs/lzo/Makefile
+++ b/package/libs/lzo/Makefile
@@ -21,6 +21,7 @@ PKG_LICENSE:=GPL-2.0+
 
 PKG_BUILD_PARALLEL:=1
 
+include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/liblzo
@@ -57,4 +58,5 @@ define Package/liblzo/install
 	$(CP) $(PKG_INSTALL_DIR)/usr/lib/liblzo2.so* $(1)/usr/lib/
 endef
 
+$(eval $(call HostBuild))
 $(eval $(call BuildPackage,liblzo))



More information about the lede-commits mailing list