package/util-linux: improve host build failure fix
As suggested by Peter Seiderer package util-linux doesn't need raw support when built for host, so let's remove: HOST_UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE in favor of: HOST_UTIL_LINUX_CONF_OPTS += --disable-raw This is a better approach than my commit: https://git.buildroot.net/buildroot/commit/?id=d895bd973b35fde10d3dd7db530d9e4782926497 Suggested-by: Peter Seiderer <ps.report@gmx.net> Tested-by: Peter Seiderer <ps.report@gmx.net> Reviewed-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
cdefb4538e
commit
498117df12
@ -41,7 +41,6 @@ define UTIL_LINUX_FIX_DISK_UTILS_COMPILE
|
||||
touch $(@D)/disk-utils/raw.8
|
||||
endef
|
||||
UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE
|
||||
HOST_UTIL_LINUX_POST_PATCH_HOOKS += UTIL_LINUX_FIX_DISK_UTILS_COMPILE
|
||||
|
||||
HOST_UTIL_LINUX_DEPENDENCIES = host-pkgconf
|
||||
|
||||
@ -202,6 +201,11 @@ HOST_UTIL_LINUX_CONF_OPTS += \
|
||||
--without-ncursesw \
|
||||
--without-tinfo
|
||||
|
||||
# Disable raw command since starting from version 2.37 needs a
|
||||
# work-around to build but in the end we don't need at all.
|
||||
HOST_UTIL_LINUX_CONF_OPTS += \
|
||||
--disable-raw
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HOST_UTIL_LINUX),y)
|
||||
HOST_UTIL_LINUX_CONF_OPTS += --disable-makeinstall-chown
|
||||
# disable commands that have ncurses dependency, as well as
|
||||
|
Loading…
Reference in New Issue
Block a user