Browse Source

Merge pull request #8704 from rosysong/ntfs-3g

ntfs-3g: allow build without ntfs3g.probe utility
lilik-openwrt-22.03
Rosen Penev 6 years ago
committed by GitHub
parent
commit
b07e20ecbf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      utils/ntfs-3g/Makefile

+ 7
- 2
utils/ntfs-3g/Makefile View File

@ -6,7 +6,7 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=ntfs-3g
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_VERSION:=2017.3.23
PKG_SOURCE:=$(PKG_NAME)_ntfsprogs-$(PKG_VERSION).tgz
@ -66,6 +66,10 @@ config PACKAGE_NTFS-3G_USE_LIBFUSE
etc.) it makes sense to activate this option and save some kilobytes
of space.
config PACKAGE_NTFS-3G_HAS_PROBE
bool "install the ntfs-3g.probe utility"
depends on PACKAGE_ntfs-3g
default y
endef
define Package/ntfs-3g-low
@ -150,7 +154,8 @@ endef
define Package/ntfs-3g/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ntfs-3g{,.probe} $(1)/usr/bin/
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ntfs-3g $(1)/usr/bin/
$(if $(CONFIG_PACKAGE_NTFS-3G_HAS_PROBE),$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/ntfs-3g.probe $(1)/usr/bin/,)
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libntfs-3g.so.* $(1)/usr/lib/
$(INSTALL_DIR) $(1)/sbin


Loading…
Cancel
Save