浏览代码

- BR2_TARGET_ROOTFS_EXT2_RESBLKS is ignored if it is 0. It should be used if it is 0 (since 0 means something here--"do not reserve any blocks".
Thanks to timw. Closes #484.

Bernhard Reutner-Fischer 18 年之前
父节点
当前提交
edea8785d8
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      target/ext2/ext2root.mk

+ 1 - 1
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