summaryrefslogtreecommitdiffstats
path: root/fs/f2fs/f2fs.mk
diff options
context:
space:
mode:
authorGrzegorz Blach <grzegorz@blach.pl>2018-11-03 15:17:02 +0100
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-11-03 15:17:02 +0100
commit0446f34d97c1098a95bcb90eb6167033932ec831 (patch)
tree35fbfd92d537a82756e458089e2fbfd6f4d95205 /fs/f2fs/f2fs.mk
parent6f727ce1fe190dcaaa0ae9b254698dbea67ce63a (diff)
downloadbuildroot-0446f34d97c1098a95bcb90eb6167033932ec831.tar.gz
buildroot-0446f34d97c1098a95bcb90eb6167033932ec831.zip
fs/f2fs: add option to define list of cold file extensions
Signed-off-by: Grzegorz Blach <grzegorz@blach.pl> [Thomas: split from the initial patch from Grzegorz] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'fs/f2fs/f2fs.mk')
-rw-r--r--fs/f2fs/f2fs.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.mk b/fs/f2fs/f2fs.mk
index c954386b05..6025aad4bb 100644
--- a/fs/f2fs/f2fs.mk
+++ b/fs/f2fs/f2fs.mk
@@ -13,10 +13,12 @@ endif
# variable is not qstrip-ed to preserve the integrity of the string value.
F2FS_LABEL := $(subst ",,$(BR2_TARGET_ROOTFS_F2FS_LABEL))
# ")
+F2FS_COLD_FILES = $(call qstrip,$(BR2_TARGET_ROOTFS_F2FS_COLD_FILES))
F2FS_OPTS = \
-f \
- -l "$(F2FS_LABEL)"
+ -l "$(F2FS_LABEL)" \
+ $(if $(F2FS_COLD_FILES),-e "$(F2FS_COLD_FILES)")
ROOTFS_F2FS_DEPENDENCIES = host-f2fs-tools
OpenPOWER on IntegriCloud