aboutsummaryrefslogtreecommitdiff
path: root/fs/f2fs/f2fs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'fs/f2fs/f2fs.mk')
-rw-r--r--fs/f2fs/f2fs.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/fs/f2fs/f2fs.mk b/fs/f2fs/f2fs.mk
index 558cddf233..63e3cdae7b 100644
--- a/fs/f2fs/f2fs.mk
+++ b/fs/f2fs/f2fs.mk
@@ -25,12 +25,15 @@ else
F2FS_DISCARD = 0
endif
+F2FS_FEATURES = $(call qstrip,$(BR2_TARGET_ROOTFS_F2FS_FEATURES))
+
F2FS_OPTS = \
-f \
-l "$(F2FS_LABEL)" \
-t $(F2FS_DISCARD) \
$(if $(F2FS_COLD_FILES),-e "$(F2FS_COLD_FILES)") \
- $(if $(F2FS_OVERPROVISION),-o $(F2FS_OVERPROVISION))
+ $(if $(F2FS_OVERPROVISION),-o $(F2FS_OVERPROVISION)) \
+ $(if $(F2FS_FEATURES),-O "$(F2FS_FEATURES)")
ROOTFS_F2FS_DEPENDENCIES = host-f2fs-tools