diff --git a/target/ext2/ext2root.mk b/target/ext2/ext2root.mk index 95a9b61cb6..5f9a59bb21 100644 --- a/target/ext2/ext2root.mk +++ b/target/ext2/ext2root.mk @@ -54,7 +54,7 @@ ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_INODES)),0) EXT2_OPTS += -i $(strip $(BR2_TARGET_ROOTFS_EXT2_INODES)) endif -ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)),0) +ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)),) EXT2_OPTS += -r $(strip $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)) endif