On Wed, 15 Apr 2020 at 17:40, Andreas Müller <schnitzelt...@gmail.com> wrote: > > There's an argument to be made for validating the OS name is in that > > list before returning it from meson_operating_system.
> ^ I read this several times - but am not sure if understand it > correctly: Do you mean it is not correct/expected that meson accepts > an incorrect name? Sorry. Meson doesn't validate the OS names. We submitted a patch upstream to Meson to validate the architecture names and patch it locally to turn a warning into a fatal error: http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/meson/meson/0001-Make-CPU-family-warnings-fatal.patch Maybe we should either do the same for the OS name, or in meson.bbclass:meson_operating_system() validate that the value it is going to return is in the list of known OS names. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#137323): https://lists.openembedded.org/g/openembedded-core/message/137323 Mute This Topic: https://lists.openembedded.org/mt/73023862/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-