From 7b7e1bc3fb490f7fb1f71b1df9a887ab30da0bbd Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Mon, 19 Apr 2010 11:03:45 +0200 Subject: 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 --- fs/ext2/ext2.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext2/ext2.mk b/fs/ext2/ext2.mk index 68b3b813c..f3d3ff92f 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 -- cgit v1.2.3