mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Alexander Dahl <ada@thorsis.com>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [RFC PATCH 1/3] util-linux-ng: Add lscpu to installable tools
Date: Thu, 22 Mar 2018 09:18:36 +0100	[thread overview]
Message-ID: <20180322081838.350-2-ada@thorsis.com> (raw)
In-Reply-To: <20180322081838.350-1-ada@thorsis.com>

Signed-off-by: Alexander Dahl <ada@thorsis.com>
---
 rules/util-linux-ng.in   | 7 +++++++
 rules/util-linux-ng.make | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in
index c6b2e89899..8e89370f68 100644
--- a/rules/util-linux-ng.in
+++ b/rules/util-linux-ng.in
@@ -428,4 +428,11 @@ config UTIL_LINUX_NG_MKFS
 	  The mkfs command is a generic wrapper for fs specific
           mkfs.* commands.
 
+config UTIL_LINUX_NG_LSCPU
+	bool
+	select UTIL_LINUX_NG_LIBSMARTCOLS
+	prompt "lscpu"
+	help
+	  lscpu shows information about the CPU architecture
+
 endif
diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make
index 2464909c71..6efbc98416 100644
--- a/rules/util-linux-ng.make
+++ b/rules/util-linux-ng.make
@@ -306,6 +306,9 @@ endif
 ifdef PTXCONF_UTIL_LINUX_NG_MKFS
 	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/sbin/mkfs)
 endif
+ifdef PTXCONF_UTIL_LINUX_NG_LSCPU
+	@$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/lscpu)
+endif
 
 	@$(call install_finish, util-linux-ng)
 
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2018-03-22  8:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-22  8:18 [ptxdist] [RFC PATCH 0/3] util-linux-ng improvements Alexander Dahl
2018-03-22  8:18 ` Alexander Dahl [this message]
2018-03-22  8:18 ` [ptxdist] [RFC PATCH 2/3] util-linux-ng: Change regex to allow rc tarballs Alexander Dahl
2018-03-22  8:18 ` [ptxdist] [RFC PATCH 3/3] util-linux-ng: Upgrade from v2.31.1 to v2.32 Alexander Dahl
2018-03-23  9:02   ` Alexander Dahl
2018-03-26  6:36     ` Michael Olbrich

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=20180322081838.350-2-ada@thorsis.com \
    --to=ada@thorsis.com \
    --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