diff options
author | Nicolas Dechesne <nicolas.dechesne@linaro.org> | 2022-04-26 21:46:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-27 23:30:11 +0100 |
commit | d9298983021b55b91f6291c5e76f0092edfea4b8 (patch) | |
tree | 9ed6e0e1f9900222ee441c1c240571c560ccd95b /meta/classes | |
parent | 4e9102a83cd2ac42c39f1d3153a1d3945e4668d5 (diff) | |
download | poky-d9298983021b55b91f6291c5e76f0092edfea4b8.tar.gz |
sanity: skip make 4.2.1 warning for debian
This is a follow up patch of:
ad5829aa1f8a (sanity: Show a warning that make 4.2.1 is buggy on non-ubuntu systems)
Debian10 has the exact same version/sources for make as Ubuntu
(focal), e.g. https://packages.debian.org/source/buster/make-dfsg and
https://packages.ubuntu.com/source/focal/make-dfsg.
As per the corresponding changelog, the patch mentioned in
ad5829aa1f8a, is included in both Debian and Ubuntu in make
4.2.1-1.1. So it's safe to use make 4.2.1 in Debian10.
(From OE-Core rev: 1d5d5278ff4f620cd786b85e880e8429a04a1548)
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/sanity.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index c385d92e8b..c72a7b3ed3 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -470,7 +470,7 @@ def check_make_version(sanity_data): | |||
470 | 470 | ||
471 | if bb.utils.vercmp_string_op(version, "4.2.1", "=="): | 471 | if bb.utils.vercmp_string_op(version, "4.2.1", "=="): |
472 | distro = oe.lsb.distro_identifier() | 472 | distro = oe.lsb.distro_identifier() |
473 | if "ubuntu" in distro: | 473 | if "ubuntu" in distro or "debian" in distro: |
474 | return None | 474 | return None |
475 | return "make version 4.2.1 is known to have issues on Centos/OpenSUSE and other non-Ubuntu systems. Please use a buildtools-make-tarball or a newer version of make.\n" | 475 | return "make version 4.2.1 is known to have issues on Centos/OpenSUSE and other non-Ubuntu systems. Please use a buildtools-make-tarball or a newer version of make.\n" |
476 | return None | 476 | return None |