e2fsprogs: disable build of e4defrag unless explicitly enabled
authorSven Neumann <s.neumann@raumfeld.com>
Tue, 28 Feb 2012 11:22:33 +0000 (12:22 +0100)
committerPeter Korsgaard <jacmet@sunsite.dk>
Tue, 28 Feb 2012 19:52:06 +0000 (20:52 +0100)
The e2fsprogs configure script enables the build of the e4defrag
utility by default. Disable it unless BR2_PACKAGE_E2FSPROGS_E4DEFRAG
is selected.

Also the --disable-blkid option is not recognized by the configure
script. Use --disable-libblkid instead.

Signed-off-by: Sven Neumann <s.neumann@raumfeld.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/e2fsprogs/e2fsprogs.mk

index 912deab6c65e84fe999c1a92d8c2b3f74c86f4b6..f3d44f6fa8a05dfa9bb41f1d63114c8c5ce606f9 100644 (file)
@@ -12,9 +12,10 @@ E2FSPROGS_CONF_OPT = \
        --enable-elf-shlibs \
        $(if $(BR2_PACKAGE_E2FSPROGS_DEBUGFS),,--disable-debugfs) \
        $(if $(BR2_PACKAGE_E2FSPROGS_E2IMAGE),,--disable-imager) \
+       $(if $(BR2_PACKAGE_E2FSPROGS_E4DEFRAG),,--disable-defrag) \
        $(if $(BR2_PACKAGE_E2FSPROGS_RESIZE2FS),,--disable-resizer) \
        --disable-uuidd \
-       --disable-blkid \
+       --disable-libblkid \
        --disable-libuuid \
        --enable-fsck \
        --disable-e2initrd-helper \