OpenWrt – Diff between revs 2 and 3
?pathlinks?
Rev 2 | Rev 3 | |||
---|---|---|---|---|
Line 6... | Line 6... | |||
6 | # |
6 | # |
|
Line 7... | Line 7... | |||
7 | |
7 | |
|
Line 8... | Line 8... | |||
8 | include $(TOPDIR)/rules.mk |
8 | include $(TOPDIR)/rules.mk |
|
9 | |
9 | |
|
Line 10... | Line 10... | |||
10 | PKG_NAME:=fstools |
10 | PKG_NAME:=fstools |
|
11 | PKG_RELEASE:=4 |
11 | PKG_RELEASE:=1 |
|
12 | |
12 | |
|
13 | PKG_SOURCE_PROTO:=git |
13 | PKG_SOURCE_PROTO:=git |
|
14 | PKG_SOURCE_URL=$(PROJECT_GIT)/project/fstools.git |
14 | PKG_SOURCE_URL=$(PROJECT_GIT)/project/fstools.git |
|
15 | PKG_SOURCE_DATE:=2018-12-28 |
15 | PKG_SOURCE_DATE:=2018-04-16 |
|
Line 16... | Line 16... | |||
16 | PKG_SOURCE_VERSION:=af93f4b8dc32cf1320dfe8f4b93bb3a12606fc33 |
16 | PKG_SOURCE_VERSION:=e24368361db166cf369a19cea773bd54f9d854b1 |
|
17 | PKG_MIRROR_HASH:=a2d8c2500fe75014ef16c039d8cdb276c1d5c066f8bce6550a3ecf46a9a411a9 |
17 | PKG_MIRROR_HASH:=8b483e752578683224245a6d77b3d7172b7cf7a8c3b959e21c47ff18aefc2464 |
|
Line 31... | Line 31... | |||
31 | include $(INCLUDE_DIR)/package.mk |
31 | include $(INCLUDE_DIR)/package.mk |
|
32 | include $(INCLUDE_DIR)/cmake.mk |
32 | include $(INCLUDE_DIR)/cmake.mk |
|
Line 33... | Line 33... | |||
33 | |
33 | |
|
34 | TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lrt) |
34 | TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lrt) |
|
35 | CMAKE_OPTIONS += $(if $(CONFIG_FSTOOLS_UBIFS_EXTROOT),-DCMAKE_UBIFS_EXTROOT=y) |
- | ||
36 | CMAKE_OPTIONS += $(if $(CONFIG_FSTOOLS_OVL_MOUNT_FULL_ACCESS_TIME),-DCMAKE_OVL_MOUNT_FULL_ACCESS_TIME=y) |
- | ||
Line 37... | Line 35... | |||
37 | CMAKE_OPTIONS += $(if $(CONFIG_FSTOOLS_OVL_MOUNT_COMPRESS_ZLIB),-DCMAKE_OVL_MOUNT_COMPRESS_ZLIB=y) |
35 | CMAKE_OPTIONS += $(if $(CONFIG_FSTOOLS_UBIFS_EXTROOT),-DCMAKE_UBIFS_EXTROOT=y) |
|
38 | |
36 | |
|
39 | define Package/fstools |
37 | define Package/fstools |
|
40 | SECTION:=base |
38 | SECTION:=base |
|
Line 50... | Line 48... | |||
50 | depends on NAND_SUPPORT |
48 | depends on NAND_SUPPORT |
|
51 | bool "Support extroot functionality with UBIFS" |
49 | bool "Support extroot functionality with UBIFS" |
|
52 | default y |
50 | default y |
|
53 | help |
51 | help |
|
54 | This option makes it possible to use extroot functionality if the root filesystem resides on an UBIFS partition |
52 | This option makes it possible to use extroot functionality if the root filesystem resides on an UBIFS partition |
|
55 | |
- | ||
56 | config FSTOOLS_OVL_MOUNT_FULL_ACCESS_TIME |
- | ||
57 | depends on PACKAGE_fstools |
- | ||
58 | bool "Full access time accounting" |
- | ||
59 | default n |
- | ||
60 | help |
- | ||
61 | This option enables the full access time accounting (warning: it will increase the flash writes). |
- | ||
62 | |
- | ||
63 | config FSTOOLS_OVL_MOUNT_COMPRESS_ZLIB |
- | ||
64 | depends on PACKAGE_fstools |
- | ||
65 | bool "Compress using zlib" |
- | ||
66 | default n |
- | ||
67 | help |
- | ||
68 | This option enables the compression using zlib on the storage device. |
- | ||
69 | endef |
53 | endef |
|
Line 70... | Line 54... | |||
70 | |
54 | |
|
71 | define Package/snapshot-tool |
55 | define Package/snapshot-tool |
|
72 | SECTION:=base |
56 | SECTION:=base |
|
Line 106... | Line 90... | |||
106 | |
90 | |
|
107 | define Package/block-mount/install |
91 | define Package/block-mount/install |
|
Line 108... | Line 92... | |||
108 | $(INSTALL_DIR) $(1)/sbin $(1)/lib $(1)/usr/sbin $(1)/etc/hotplug.d/block $(1)/etc/init.d/ $(1)/etc/uci-defaults/ |
92 | $(INSTALL_DIR) $(1)/sbin $(1)/lib $(1)/usr/sbin $(1)/etc/hotplug.d/block $(1)/etc/init.d/ $(1)/etc/uci-defaults/ |
|
109 | |
93 | |
|
110 | $(INSTALL_BIN) ./files/fstab.init $(1)/etc/init.d/fstab |
94 | $(INSTALL_BIN) ./files/fstab.init $(1)/etc/init.d/fstab |
|
111 | $(INSTALL_CONF) ./files/fstab.default $(1)/etc/uci-defaults/10-fstab |
- | ||
Line 112... | Line 95... | |||
112 | $(INSTALL_CONF) ./files/mount.hotplug $(1)/etc/hotplug.d/block/10-mount |
95 | $(INSTALL_DATA) ./files/fstab.default $(1)/etc/uci-defaults/10-fstab |
|
113 | $(INSTALL_CONF) ./files/media-change.hotplug $(1)/etc/hotplug.d/block/00-media-change |
96 | $(INSTALL_DATA) ./files/mount.hotplug $(1)/etc/hotplug.d/block/10-mount |
|
114 | |
97 | |
|
115 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/block $(1)/sbin/ |
98 | $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/block $(1)/sbin/ |