On Mon, 8 Apr 2019 at 21:56, Douglas Royds <[email protected]> wrote:
>  python() {
>      generator = d.getVar("OECMAKE_GENERATOR")
> -    if generator == "Unix Makefiles":
> -        args = "-G 'Unix Makefiles' -DCMAKE_MAKE_PROGRAM=" + d.getVar("MAKE")
> +    if "Unix Makefiles" in generator:
> +        args = "-G '" + generator +  "' -DCMAKE_MAKE_PROGRAM=" + 
> d.getVar("MAKE")

So are there other generators such as "Unix Makefiles - Something
Else" that needs to trigger this code path?  A real world example
would be useful.

>      else:
>          bb.fatal("Unknown CMake Generator %s" % generator)

Because obviously at this point, arbitrary generators are very much
not supported yet.

Ross
-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to