Skip to contentSkip to conversation

util-linux: disable more command host build because of ncurses dependency

PATCH New Peter Seiderer 2 participants 2 messages Jan 31, 2015 – Feb 1, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 util-linux: disable more command host build because of ncurses dependency

Build on host without ncurses/curses development files and option HOST_UTIL_LINUX enabled (introduced by [1]) failes because of text-utils/more.c ncurses dependency (see old commit [2] for details).

[1] http://git.buildroot.net/buildroot/commit/?id=2b18d093cd8a5baaf2e22ce13cc9e527c1937777
[2] http://git.buildroot.net/buildroot/commit/?id=e55532fa08266be268fa35c32a5ee763329a9396

---
 package/util-linux/util-linux.mk | 2 ++
 1 file changed, 2 insertions(+)
package/util-linux/util-linux.mk +2 -0
index a70363f..0b99618 100644
@@ -120,6 +120,8 @@ HOST_UTIL_LINUX_CONF_OPTS += \
 
 ifeq ($(BR2_PACKAGE_HOST_UTIL_LINUX),y)
 HOST_UTIL_LINUX_CONF_OPTS += --disable-makeinstall-chown
+# disable more command because of ncurses dependency
+HOST_UTIL_LINUX_CONF_OPTS += --disable-more
 else
 HOST_UTIL_LINUX_CONF_OPTS += --disable-all-programs
 endif
Signature · 1 line
2.1.2
#1 lore raw

PATCH 1/1 util-linux: disable more command host build because of ncurses dependency

Dear Peter Seiderer,

Quoted 11 lines · Peter Seiderer

Build on host without ncurses/curses development files and option HOST_UTIL_LINUX enabled (introduced by [1]) failes because of text-utils/more.c ncurses dependency (see old commit [2] for details).

[1] http://git.buildroot.net/buildroot/commit/?id=2b18d093cd8a5baaf2e22ce13cc9e527c1937777
[2] http://git.buildroot.net/buildroot/commit/?id=e55532fa08266be268fa35c32a5ee763329a9396

---
 package/util-linux/util-linux.mk | 2 ++
 1 file changed, 2 insertions(+)

Applied, thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com