From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Tue, 07 Feb 2023 15:14:08 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pPOjZ-00H4jN-IN for lore@lore.pengutronix.de; Tue, 07 Feb 2023 15:14:08 +0100 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pPOjX-0000su-96; Tue, 07 Feb 2023 15:14:07 +0100 Received: from luzerne.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::52]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1pPOjA-0000sg-IM; Tue, 07 Feb 2023 15:13:44 +0100 From: =?UTF-8?q?Sven=20P=C3=BCschel?= To: ptxdist@pengutronix.de Date: Tue, 7 Feb 2023 15:13:07 +0100 Message-Id: <20230207141307.334029-1-s.pueschel@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] lshw: Set VERSION variable X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: =?UTF-8?q?Sven=20P=C3=BCschel?= Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false The lshw Makefile defaults to a git describe if the version variable isn't set. This may cause it to use the version of a parent git repository like DistroKit, as lshw is extracted from a tarball. Signed-off-by: Sven PĆ¼schel --- rules/lshw.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/lshw.make b/rules/lshw.make index 1feb82dba..dbc911dfe 100644 --- a/rules/lshw.make +++ b/rules/lshw.make @@ -35,7 +35,7 @@ LSHW_CONF_TOOL := NO # the "src" subdir avoids this. LSHW_SUBDIR := src -LSHW_MAKE_ENV := $(CROSS_ENV) +LSHW_MAKE_ENV := $(CROSS_ENV) VERSION=$(LSHW_VERSION) LSHW_MAKE_OPT := all LSHW_INSTALL_OPT := install -- 2.30.2