From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wg0-x230.google.com ([2a00:1450:400c:c00::230]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YTpSi-0002Uc-Qj for ptxdist@pengutronix.de; Fri, 06 Mar 2015 11:26:33 +0100 Received: by wggx12 with SMTP id x12so1466206wgg.13 for ; Fri, 06 Mar 2015 02:26:27 -0800 (PST) From: Hubert Feurstein Date: Fri, 6 Mar 2015 11:25:53 +0100 Message-Id: <1425637560-23901-3-git-send-email-h.feurstein@gmail.com> In-Reply-To: <1425637560-23901-1-git-send-email-h.feurstein@gmail.com> References: <1425637560-23901-1-git-send-email-h.feurstein@gmail.com> Subject: [ptxdist] [PATCH 03/10] util-linux-ng: add dmesg option Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Signed-off-by: Hubert Feurstein --- rules/util-linux-ng.in | 10 ++++++++++ rules/util-linux-ng.make | 3 +++ 2 files changed, 13 insertions(+) diff --git a/rules/util-linux-ng.in b/rules/util-linux-ng.in index 50dfbf6..55dcd38 100644 --- a/rules/util-linux-ng.in +++ b/rules/util-linux-ng.in @@ -77,6 +77,16 @@ config UTIL_LINUX_NG_PARTX help The partx utility. +config UTIL_LINUX_NG_DMESG + bool + depends on !BUSYBOX_DMESG || ALLYES + prompt "dmesg" + help + The dmesg utility. + +comment "BusyBox' dmesg is selected!" + depends on BUSYBOX_DMESG + config UTIL_LINUX_NG_MOUNTPOINT bool select UTIL_LINUX_NG_LIBMOUNT diff --git a/rules/util-linux-ng.make b/rules/util-linux-ng.make index acd3b78..bcef93e 100644 --- a/rules/util-linux-ng.make +++ b/rules/util-linux-ng.make @@ -171,6 +171,9 @@ endif ifdef PTXCONF_UTIL_LINUX_NG_LINE @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /usr/bin/line) endif +ifdef PTXCONF_UTIL_LINUX_NG_DMESG + @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /bin/dmesg) +endif ifdef PTXCONF_UTIL_LINUX_NG_MOUNTPOINT @$(call install_copy, util-linux-ng, 0, 0, 0755, -, /bin/mountpoint) endif -- 2.3.0 -- ptxdist mailing list ptxdist@pengutronix.de