[OE-core] [PATCH 2/9] gnomebase.bbclass: split into autotools and meson versions

Richard Purdie richard.purdie at linuxfoundation.org
Wed Jan 3 11:11:57 UTC 2018


On Thu, 2017-12-21 at 15:04 +0200, Alexander Kanavin wrote:
> gnomebase.bbclass unfortunately hardcodes the autotools inherit,
> so we have to introduce gnomebase-nobuildsystem.bbclass where
> the common bits between autotools and meson classes can be placed.

In the interests of trying to avoid a ton more class files, could you
tweak this to do something like:

GNOMEBASEBUILDCLASS ??= "autotools"

inherit ${GNOMEBASEBUILDCLASS}

and then 

GNOMEBASEBUILDCLASS = "meson"
inherit gnomebase-autotools

(or the other way around but you get the idea)

Cheers,

Richard




More information about the Openembedded-core mailing list