summaryrefslogtreecommitdiff
path: root/make/mkdosfs.mk
diff options
context:
space:
mode:
Diffstat (limited to 'make/mkdosfs.mk')
-rw-r--r--make/mkdosfs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/mkdosfs.mk b/make/mkdosfs.mk
index 98288afed..71d768bae 100644
--- a/make/mkdosfs.mk
+++ b/make/mkdosfs.mk
@@ -9,7 +9,7 @@ MKDOSFS_DIR=$(BUILD_DIR)/dosfstools-2.8
MKDOSFS_CAT:=zcat
MKDOSFS_BINARY:=mkdosfs/mkdosfs
MKDOSFS_TARGET_BINARY:=sbin/mkdosfs
-ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
+ifeq ($(BR2_LARGEFILE),y)
MKDOSFS_CFLAGS="-Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
else
MKDOSFS_CFLAGS="-Os -g"