mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] util-linux-ng: make target install of 'column' possible
Date: Fri, 14 Sep 2012 14:53:37 +0200	[thread overview]
Message-ID: <1347627217-3129-1-git-send-email-post@lespocky.de> (raw)

We need the tool 'column' for our BSP. The tool is compiled with
util-linux-ng but not installed in targetinstall stage. This patch
makes this configurable in menuconfig.

Signed-off-by: Alexander Dahl <post@lespocky.de>
---
 rules/util-linux-ng.in   |    6 ++++++
 rules/util-linux-ng.make |    3 +++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index 70e026a..cedc1a5 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -32,6 +32,12 @@ config UTIL_LINUX_NG_AGETTY
 	help
 	  A small getty.
 
+config UTIL_LINUX_NG_COLUMN
+	bool
+	prompt "column"
+	help
+	  Columnate lists.
+
 config UTIL_LINUX_NG_LINE
 	bool
 	prompt "line"
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index d6ba503..0ddc955 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -112,6 +112,9 @@ $(STATEDIR)/util-linux-ng.targetinstall:
 	@$(call install_fixup, util-linux-ng,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
 	@$(call install_fixup, util-linux-ng,DESCRIPTION,missing)
 
+ifdef PTXCONF_UTIL_LINUX_NG_COLUMN
+	@$(call install_copy, util-linux-ng, root, root, 0755, -, /usr/bin/column)
+endif
 ifdef PTXCONF_UTIL_LINUX_NG_LINE
 	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/line)
 endif
-- 
1.7.2.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2012-09-14 12:54 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1347627217-3129-1-git-send-email-post@lespocky.de \
    --to=post@lespocky.de \
    --cc=ptxdist@pengutronix.de \
    /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