diff options
-rw-r--r-- | meta/classes/sanity.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index be956fb..c385d92 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass | |||
@@ -467,6 +467,12 @@ def check_make_version(sanity_data): | |||
467 | os.remove("makefile_test_b.c") | 467 | os.remove("makefile_test_b.c") |
468 | if os.path.exists("makefile_test.a"): | 468 | if os.path.exists("makefile_test.a"): |
469 | os.remove("makefile_test.a") | 469 | os.remove("makefile_test.a") |
470 | |||
471 | if bb.utils.vercmp_string_op(version, "4.2.1", "=="): | ||
472 | distro = oe.lsb.distro_identifier() | ||
473 | if "ubuntu" in distro: | ||
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" | ||
470 | return None | 476 | return None |
471 | 477 | ||
472 | 478 | ||