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>
# 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.