From 8e93386b804f8029a1180755ce240fbc0f06b009 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 7 Apr 2019 17:20:01 -0700 Subject: [PATCH] vim: Add host build to install xxd Packages such as ttyd and device-observatory need this. Signed-off-by: Rosen Penev --- utils/vim/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/utils/vim/Makefile b/utils/vim/Makefile index 8e9e3f3f0..e4ab2682f 100644 --- a/utils/vim/Makefile +++ b/utils/vim/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=vim PKG_VERSION:=8.1 -PKG_RELEASE:=1 +PKG_RELEASE:=2 VIMVER:=81 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 @@ -21,7 +21,11 @@ PKG_CPE_ID:=cpe:/a:vim:vim PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)$(VIMVER) PKG_BUILD_PARALLEL:=1 +HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)$(VIMVER) +HOST_BUILD_PARALLEL:=1 + include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk define Package/vim/Default SECTION:=utils @@ -242,3 +246,4 @@ $(eval $(call BuildPackage,vim-fuller)) $(eval $(call BuildPackage,vim-runtime)) $(eval $(call BuildPackage,vim-help)) $(eval $(call BuildPackage,xxd)) +$(eval $(call HostBuild))