mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
93e9ad63c9
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
60 lines
1.2 KiB
Makefile
60 lines
1.2 KiB
Makefile
#
|
|
# Copyright (C) 2010-2011 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=automount
|
|
PKG_FLAGS:=nonshared
|
|
PKG_RELEASE:=$(COMMITCOUNT)
|
|
|
|
PKG_CONFIG_DEPENDS:=CONFIG_TARGET_ramips
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/automount
|
|
TITLE:=Mount autoconfig hotplug script.
|
|
MAINTAINER:=Lean
|
|
DEPENDS:= \
|
|
+block-mount \
|
|
+e2fsprogs \
|
|
+kmod-usb-storage \
|
|
+kmod-usb-storage-extras \
|
|
+!TARGET_ramips:kmod-usb-storage-uas \
|
|
+kmod-fs-ext4 \
|
|
+kmod-fs-exfat \
|
|
+kmod-fs-vfat \
|
|
+ntfs3-mount
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/ntfs3-mount
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
SUBMENU:=Filesystem
|
|
TITLE:=NTFS mount script for Paragon NTFS3 driver
|
|
DEPENDS:=+kmod-fs-ntfs3
|
|
CONFLICTS:=ntfs-3g
|
|
VARIANT:=ntfs3-mount
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/automount/install
|
|
$(INSTALL_DIR) $(1)/etc/hotplug.d/block
|
|
$(INSTALL_BIN) ./files/15-automount $(1)/etc/hotplug.d/block/
|
|
endef
|
|
|
|
define Package/ntfs3-mount/install
|
|
$(INSTALL_DIR) $(1)/sbin
|
|
$(INSTALL_BIN) ./files/mount.ntfs $(1)/sbin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,automount))
|
|
$(eval $(call BuildPackage,ntfs3-mount))
|