btrfs-progs: make e2fsprogs an optional dependency
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 21 Aug 2018 21:59:54 +0000 (23:59 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 22 Aug 2018 11:34:15 +0000 (13:34 +0200)
commit237c8d6b0ced7954ef64bd8b4d82a95d93443a88
treebe3a3d01e4cf229df7860596ef6842bd5830091d
parent72bc28e0ddfb97a327a2bb5a2f98959abc88a612
btrfs-progs: make e2fsprogs an optional dependency

e2fsprogs is only needed to build the btrfs-convert program, that
allows to convert an existing ext2 filesystem into a btrfs
filesystem. Not everybody needs to do that and making this dependency
optional is nicer, so this is what this patch does.

Note that btrfs-progs also supports converting from reiserfs, which is
why the --with-convert option supports a list of filesystems. Since
Buildroot has no package for the reiserfs library, we for now only
support the ext2 case, with e2fsprogs as a dependency.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/btrfs-progs/Config.in
package/btrfs-progs/btrfs-progs.mk