mirror of
https://github.com/openwrt/packages.git
synced 2026-01-08 10:00:19 +04:00
vim: Add host build to install xxd
Packages such as ttyd and device-observatory need this. Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user