mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] util-linux-ng: make target install of 'column' possible
@ 2012-09-14 12:53 Alexander Dahl
  0 siblings, 0 replies; only message in thread
From: Alexander Dahl @ 2012-09-14 12:53 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-14 12:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-14 12:53 [ptxdist] [PATCH] util-linux-ng: make target install of 'column' possible Alexander Dahl

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