aboutsummaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-04-19 11:03:45 +0200
committerGravatar Peter Korsgaard <jacmet@sunsite.dk>2010-04-19 11:03:45 +0200
commit7b7e1bc3fb490f7fb1f71b1df9a887ab30da0bbd (patch)
tree1f624612cdbc9fcf436f681937250a0974de23a5 /fs
parentab1f6e5cc09c3206dd458a2ac50c7e2509fe3c07 (diff)
downloadbuildroot-7b7e1bc3fb490f7fb1f71b1df9a887ab30da0bbd.tar.gz
buildroot-7b7e1bc3fb490f7fb1f71b1df9a887ab30da0bbd.tar.bz2
fs/ext2: fix typo
BR2_TARGET_ROOTFS_EXT2_RESBLKS is an int, so test against 0 rather than the empty string - Otherwise the test is always true and a -m option without arguments is added to the argument list, causing genext2fs to get confused. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'fs')
-rw-r--r--fs/ext2/ext2.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ext2/ext2.mk b/fs/ext2/ext2.mk
index 68b3b813c3..f3d3ff92fe 100644
--- a/fs/ext2/ext2.mk
+++ b/fs/ext2/ext2.mk
@@ -18,7 +18,7 @@ ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_INODES)),0)
EXT2_OPTS += -N $(BR2_TARGET_ROOTFS_EXT2_INODES)
endif
-ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)),)
+ifneq ($(strip $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)),0)
EXT2_OPTS += -m $(BR2_TARGET_ROOTFS_EXT2_RESBLKS)
endif