[Buildroot] [PATCH v5 3/5] fs/ext2: rename BR2_TARGET_ROOTFS_EXT2_BLOCKS -> BR2_TARGET_ROOTFS_EXT2_SIZE

Peter Korsgaard peter at korsgaard.com
Tue Jul 4 23:39:09 UTC 2017


>>>>> "Samuel" == Samuel Martin <s.martin49 at gmail.com> writes:

 > This change deprecates the ext2/3/4 rootfs size in blocks symbol in
 > favor of one that mimic the fs-size argument behavior of mkfs (i.e.
 > size in a human readable format accepting k, m, g or t suffix or their
 > upper-case variants).

 > +++ b/fs/ext2/ext2.mk
 > @@ -4,6 +4,11 @@
 >  #
 >  ################################################################################
 
 > +EXT2_SIZE = $(call qstrip,$(BR2_TARGET_ROOTFS_EXT2_SIZE))
 > +ifeq ($(BR2_TARGET_ROOTFS_EXT)-$(EXT2_SIZE),y-)
 > +$(error BR2_TARGET_ROOTFS_EXT2_SIZE cannot be empty)
 > +endif

Hmm, shouldn't that be BR2_TARGET_ROOTFS_EXT2 instead of
BR2_TARGET_ROOTFS_EXT?

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list