mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 03:09:08 +08:00
98d06941ec
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org> (cherry picked from commit 2008dea56aadf7e65c85c7c2762a14ef154ef3ad)
39 lines
930 B
Makefile
39 lines
930 B
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)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/automount
|
|
TITLE:=Mount autoconfig hotplug script.
|
|
MAINTAINER:=Lean
|
|
DEPENDS:=+block-mount +kmod-usb-storage +kmod-usb-storage-extras +!TARGET_ramips:kmod-usb-storage-uas \
|
|
+kmod-fs-vfat +kmod-fs-ext4 +kmod-fs-exfat +ntfs-3g
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/automount/description
|
|
A usb autoconfig hotplug script.
|
|
endef
|
|
|
|
define Build/Compile
|
|
true
|
|
endef
|
|
|
|
define Package/automount/install
|
|
$(INSTALL_DIR) $(1)/etc/uci-defaults
|
|
$(INSTALL_BIN) ./files/15-automount $(1)/etc/15-automount
|
|
$(INSTALL_BIN) ./files/zzz-move-automount $(1)/etc/uci-defaults/zzz-move-automount
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,automount))
|