DistroKit Mailinglist
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [DistroKit] [PATCH v2 4/5] mips, mipsel: kernel-*: use ptx/config-version and ptx/config-md5
Date: Fri, 26 Nov 2021 11:39:36 +0100	[thread overview]
Message-ID: <20211126103937.2856148-4-rhi@pengutronix.de> (raw)
In-Reply-To: <20211126103937.2856148-1-rhi@pengutronix.de>

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 <rhi@pengutronix.de>
---
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


  parent reply	other threads:[~2021-11-26 10:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-26 10:39 [DistroKit] [PATCH v2 1/5] mips, mipsel: kernel-*: bring back KERNEL_*_PATH Roland Hieber
2021-11-26 10:39 ` [DistroKit] [PATCH v2 2/5] mips, mipsel: kernel-*: bring up-to-date with PTXdist 2021.07.0 template Roland Hieber
2021-11-26 10:39 ` [DistroKit] [PATCH v2 3/5] mips, mipsel: kernel-*: rework device-tree handling Roland Hieber
2021-11-26 10:39 ` Roland Hieber [this message]
2021-11-26 10:39 ` [DistroKit] [PATCH v2 5/5] mips, mipsel: update kernel configs Roland Hieber
2021-11-26 10:47 ` [DistroKit] [PATCH v2 1/5] mips, mipsel: kernel-*: bring back KERNEL_*_PATH Robert Schwebel

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=20211126103937.2856148-4-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=distrokit@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