Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/7] util-linux: add optional dependency on readline
Date: Thu, 15 Sep 2016 15:57:02 +0530	[thread overview]
Message-ID: <1473935228-14014-1-git-send-email-rahul.bedarkar@imgtec.com> (raw)

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

             reply	other threads:[~2016-09-15 10:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-15 10:27 Rahul Bedarkar [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1473935228-14014-1-git-send-email-rahul.bedarkar@imgtec.com \
    --to=rahul.bedarkar@imgtec.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox