Browse Source

vim: Add host build to install xxd

Packages such as ttyd and device-observatory need this.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 6 years ago
parent
commit
8e93386b80
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 6 additions and 1 deletions
  1. +6
    -1
      utils/vim/Makefile

+ 6
- 1
utils/vim/Makefile View File

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=vim PKG_NAME:=vim
PKG_VERSION:=8.1 PKG_VERSION:=8.1
PKG_RELEASE:=1
PKG_RELEASE:=2
VIMVER:=81 VIMVER:=81
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 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_DIR:=$(BUILD_DIR)/$(PKG_NAME)$(VIMVER)
PKG_BUILD_PARALLEL:=1 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)/package.mk
include $(INCLUDE_DIR)/host-build.mk
define Package/vim/Default define Package/vim/Default
SECTION:=utils SECTION:=utils
@ -242,3 +246,4 @@ $(eval $(call BuildPackage,vim-fuller))
$(eval $(call BuildPackage,vim-runtime)) $(eval $(call BuildPackage,vim-runtime))
$(eval $(call BuildPackage,vim-help)) $(eval $(call BuildPackage,vim-help))
$(eval $(call BuildPackage,xxd)) $(eval $(call BuildPackage,xxd))
$(eval $(call HostBuild))

Loading…
Cancel
Save