From: Wadim Klincov <wadim@klincov.com>
To: isar-users@googlegroups.com
Cc: Wadim Klincov <wadim@klincov.com>
Subject: [PATCH] Skip deprecated headers_check target
Date: Tue, 02 Aug 2022 12:57:43 +0000 [thread overview]
Message-ID: <20220802125715.8495-1-wadim@klincov.com> (raw)
The `headers_check` target was deprecated with kernel version v5.4.24[0]
and has been completely removed after kernel version v5.15[1]. Building anything above kernel
v5.15 fails, but anything after v5.4.24 can skip `headers_check` already, since
it's just a no-op.
[0] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.4.24&id=ecd77a3261ab58bb07bc00cf3ca57f052764be5b
[1] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Makefile?h=v5.15.1#n1311
Signed-off-by: Wadim Klincov <wadim@klincov.com>
---
meta/recipes-kernel/linux/files/debian/isar/install.tmpl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
index c6b5059..6ea50d0 100644
--- a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
@@ -196,7 +196,9 @@ kernel_headers() {
}
install_headers() {
- headers_check
+ if dpkg --compare-versions "${krel}" "lt" "5.4.24"; then
+ headers_check
+ fi
[ -z ${kern_pkgs["linux-libc-dev"]} ] || libc_headers
kernel_headers
}
--
2.37.1
next reply other threads:[~2022-08-02 12:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-02 12:57 Wadim Klincov [this message]
2022-08-10 11:33 ` Anton Mikanovich
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=20220802125715.8495-1-wadim@klincov.com \
--to=wadim@klincov.com \
--cc=isar-users@googlegroups.com \
/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