From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Fri, 26 Nov 2021 11:39:46 +0100 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1mqYdu-0002Cm-E3 for lore@lore.pengutronix.de; Fri, 26 Nov 2021 11:39:46 +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 1mqYdt-0002ss-Nz; Fri, 26 Nov 2021 11:39:45 +0100 Received: from dude.hi.pengutronix.de ([2001:67c:670:100:1d::7]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqYdn-0002pQ-Qq; Fri, 26 Nov 2021 11:39:39 +0100 Received: from rhi by dude.hi.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1mqYdn-00BzD5-8z; Fri, 26 Nov 2021 11:39:39 +0100 From: Roland Hieber To: distrokit@pengutronix.de Date: Fri, 26 Nov 2021 11:39:36 +0100 Message-Id: <20211126103937.2856148-4-rhi@pengutronix.de> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211126103937.2856148-1-rhi@pengutronix.de> References: <20211126103937.2856148-1-rhi@pengutronix.de> MIME-Version: 1.0 Subject: [DistroKit] [PATCH v2 4/5] mips, mipsel: kernel-*: use ptx/config-version and ptx/config-md5 X-BeenThere: distrokit@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: DistroKit Mailinglist List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Roland Hieber Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "DistroKit" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: distrokit-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false These macros make sure that the version and MD5 result in the string "undefined" when the respective package is not enabled in the menu. See the following PTXdist commits: * commit 80d19e055622e87116df ("rules: new macros ptx/config-version and ptx/config-md5") * commit bc40d075ebcdf81cc14b ("kernel: use ptx/config-version and ptx/config-md5") Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=80d19e055622e87116df Link: https://git.pengutronix.de/cgit/ptxdist/commit/?id=bc40d075ebcdf81cc14b Signed-off-by: Roland Hieber --- v2: no changes configs/platform-mips/rules/kernel-ar9331.make | 4 ++-- configs/platform-mips/rules/kernel-malta.make | 4 ++-- configs/platform-mipsel/rules/kernel-malta.make | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configs/platform-mips/rules/kernel-ar9331.make b/configs/platform-mips/rules/kernel-ar9331.make index 7b9782d2b696..74c10ce22dfb 100644 --- a/configs/platform-mips/rules/kernel-ar9331.make +++ b/configs/platform-mips/rules/kernel-ar9331.make @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_KERNEL_AR9331) += kernel-ar9331 # # Paths and names # -KERNEL_AR9331_VERSION := $(KERNEL_VERSION) -KERNEL_AR9331_MD5 := $(call remove_quotes,$(PTXCONF_KERNEL_MD5)) +KERNEL_AR9331_VERSION := $(call ptx/config-version, PTXCONF_KERNEL) +KERNEL_AR9331_MD5 := $(call ptx/config-md5, PTXCONF_KERNEL) KERNEL_AR9331 := linux-ar9331-$(KERNEL_AR9331_VERSION) KERNEL_AR9331_SUFFIX := tar.xz KERNEL_AR9331_URL := $(call kernel-url, KERNEL_AR9331) diff --git a/configs/platform-mips/rules/kernel-malta.make b/configs/platform-mips/rules/kernel-malta.make index c5028b996264..41e2760cd14a 100644 --- a/configs/platform-mips/rules/kernel-malta.make +++ b/configs/platform-mips/rules/kernel-malta.make @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_KERNEL_MALTA) += kernel-malta # # Paths and names # -KERNEL_MALTA_VERSION := $(KERNEL_VERSION) -KERNEL_MALTA_MD5 := $(call remove_quotes,$(PTXCONF_KERNEL_MD5)) +KERNEL_MALTA_VERSION := $(call ptx/config-version, PTXCONF_KERNEL) +KERNEL_MALTA_MD5 := $(call ptx/config-md5, PTXCONF_KERNEL) KERNEL_MALTA := linux-malta-$(KERNEL_MALTA_VERSION) KERNEL_MALTA_SUFFIX := tar.xz KERNEL_MALTA_URL := $(call kernel-url, KERNEL_MALTA) diff --git a/configs/platform-mipsel/rules/kernel-malta.make b/configs/platform-mipsel/rules/kernel-malta.make index c2bea47e9d0c..89f1e06c529a 100644 --- a/configs/platform-mipsel/rules/kernel-malta.make +++ b/configs/platform-mipsel/rules/kernel-malta.make @@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_KERNEL_MALTA) += kernel-malta # # Paths and names # -KERNEL_MALTA_VERSION := $(KERNEL_VERSION) -KERNEL_MALTA_MD5 := $(call remove_quotes,$(PTXCONF_KERNEL_MD5)) +KERNEL_MALTA_VERSION := $(call ptx/config-version, PTXCONF_KERNEL) +KERNEL_MALTA_MD5 := $(call ptx/config-md5, PTXCONF_KERNEL) KERNEL_MALTA := linux-malta-$(KERNEL_MALTA_VERSION) KERNEL_MALTA_SUFFIX := tar.xz KERNEL_MALTA_URL := $(call kernel-url, KERNEL_MALTA) -- 2.30.2 _______________________________________________ DistroKit mailing list DistroKit@pengutronix.de