Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline
@ 2016-09-15 10:27 Rahul Bedarkar
  2016-09-15 10:27 ` [Buildroot] [PATCH 2/7] util-linux: add optional dependency on audit Rahul Bedarkar
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Rahul Bedarkar @ 2016-09-15 10:27 UTC (permalink / raw)
  To: buildroot

fdisk and sfdisk tools can be built with readline support. This patch
adds optional dependency on readline if it is already selected.

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
---
 package/util-linux/util-linux.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/util-linux/util-linux.mk b/package/util-linux/util-linux.mk
index aa6f994..7b16ca4 100644
--- a/package/util-linux/util-linux.mk
+++ b/package/util-linux/util-linux.mk
@@ -146,6 +146,13 @@ else
 UTIL_LINUX_CONF_OPTS += --without-python
 endif
 
+ifeq ($(BR2_PACKAGE_READLINE),y)
+UTIL_LINUX_CONF_OPTS += --with-readline
+UTIL_LINUX_DEPENDENCIES += readline
+else
+UTIL_LINUX_CONF_OPTS += --without-readline
+endif
+
 # Install PAM configuration files
 ifeq ($(BR2_PACKAGE_UTIL_LINUX_LOGIN_UTILS),y)
 define UTIL_LINUX_INSTALL_PAMFILES
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-09-16 16:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-15 10:27 [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline Rahul Bedarkar
2016-09-15 10:27 ` [Buildroot] [PATCH 2/7] util-linux: add optional dependency on audit Rahul Bedarkar
2016-09-16 16:43   ` Thomas Petazzoni
2016-09-15 10:27 ` [Buildroot] [PATCH 3/7] audit: disable autoreconf Rahul Bedarkar
2016-09-16 16:44   ` Thomas Petazzoni
2016-09-15 10:27 ` [Buildroot] [PATCH 4/7] audit: bump version to 2.6.7 Rahul Bedarkar
2016-09-16 16:44   ` Thomas Petazzoni
2016-09-15 10:27 ` [Buildroot] [PATCH 5/7] audit: update legal info Rahul Bedarkar
2016-09-15 16:20   ` Arnout Vandecappelle
2016-09-16 16:45   ` Thomas Petazzoni
2016-09-16 16:42 ` [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox