From: Roland Hieber <rhi@pengutronix.de>
To: distrokit@pengutronix.de
Cc: Roland Hieber <rhi@pengutronix.de>
Subject: [DistroKit] [PATCH 4/8] mips, mipsel: kernel-*: use ptx/config-version and ptx/config-md5
Date: Sun, 24 Oct 2021 21:45:30 +0200 [thread overview]
Message-ID: <20211024194534.6704-4-rhi@pengutronix.de> (raw)
In-Reply-To: <20211024194534.6704-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>
---
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
next prev parent reply other threads:[~2021-10-24 19:45 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-24 19:45 [DistroKit] [PATCH 1/8] mips, mipsel: kernel-*: bring back KERNEL_*_PATH Roland Hieber
2021-10-24 19:45 ` [DistroKit] [PATCH 2/8] mips, mipsel: kernel-*: bring up-to-date with PTXdist 2021.07.0 template Roland Hieber
2021-10-24 19:45 ` [DistroKit] [PATCH 3/8] mips, mipsel: kernel-*: rework device-tree handling Roland Hieber
2021-10-24 19:45 ` Roland Hieber [this message]
2021-10-24 19:45 ` [DistroKit] [PATCH 5/8] ptxdist: migrate 2021.06.0 -> 2021.10.0 Roland Hieber
2021-10-24 19:45 ` [DistroKit] [PATCH 6/8] mips, mipsel: kernel: re-fork from PTXdist 2021.10.0 Roland Hieber
2021-10-24 19:54 ` [DistroKit] [PATCH v2 " Roland Hieber
2021-10-24 19:45 ` [DistroKit] [PATCH 7/8] mips, mipsel: don't actually compile the kernel Roland Hieber
2021-10-25 7:37 ` Michael Olbrich
2021-11-24 14:53 ` Robert Schwebel
2021-11-25 11:42 ` Roland Hieber
2021-10-24 19:45 ` [DistroKit] [PATCH 8/8] mips, mipsel: update kernel configs Roland Hieber
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=20211024194534.6704-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