util-linux: disable all programs for host build
authorPeter Seiderer <ps.report@gmx.net>
Wed, 24 Sep 2014 21:08:51 +0000 (23:08 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 25 Sep 2014 07:20:54 +0000 (09:20 +0200)
Disable all programs for host build using '--disable-all-programs'
as suggested by Thomas Petazzoni ([1]).

Build libs before patch:
build/host-util-linux-2.25.1/.libs/libsmartcols.so
build/host-util-linux-2.25.1/.libs/libuuid.so
build/host-util-linux-2.25.1/.libs/libfdisk.a
build/host-util-linux-2.25.1/.libs/libcommon.a

Build libs after patch:
build/host-util-linux-2.25.1/.libs/libuuid.so
build/host-util-linux-2.25.1/.libs/libcommon.a

[1] http://lists.busybox.net/pipermail/buildroot/2014-September/106933.html

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/util-linux/util-linux.mk

index 28c96a745aa30dda10784debbddca9f6918b693d..86770be0bee8972c97fbfc4f9d6f858ebe85b6e5 100644 (file)
@@ -94,12 +94,8 @@ UTIL_LINUX_CONF_OPT += \
 # and none of the util-linux utilities, so we disable all of them.
 HOST_UTIL_LINUX_CONF_OPT += \
        --enable-libuuid \
-       --disable-agetty --disable-cramfs --disable-fallocate \
-       --disable-fsck --disable-libblkid --disable-libmount \
-       --disable-login --disable-mount --disable-more --disable-partx \
-       --disable-pivot_root --disable-rename --disable-schedutils \
-       --disable-su --disable-switch_root --disable-unshare \
-       --disable-uuidd --disable-wall --without-ncurses
+       --disable-libblkid --disable-libmount \
+       --disable-all-programs --without-ncurses
 
 # Avoid building the tools if they are disabled since we can't install on
 # a per-directory basis.