2023. 06. 07. 11:57 keltezéssel, Ross Burton írta:
On 7 Jun 2023, at 07:55, Zoltan Boszormenyi via lists.openembedded.org 
<zboszor=gmail....@lists.openembedded.org> wrote:
+# Filter out meson_do_qa_configure from do_configure[postfuncs]
+DOCONFIGUREPOSTFUNCS := "${@d.getVarFlag('do_configure', 'postfuncs')}"
+DOCONFIGUREPOSTFUNCS:remove = "meson_do_qa_configure"
+do_configure[postfuncs] := "${@'' if d.getVar('DOCONFIGUREPOSTFUNCS') is None else 
d.getVar('DOCONFIGUREPOSTFUNCS') }"
A neater solution would be to just stub out meson_do_qa_configure in this class:

meson_do_qa_configure() { : }

Thanks. I will make this change.

+# This prevents the meson error:
+# ERROR: Got argument buildtype as both -Dbuildtype and --buildtype. Pick one.
+MESONOPTS:remove = "--buildtype ${MESON_BUILDTYPE}"
If mesonpy ever switches to —buildtype then this will break, right?  Might be 
better to patch mesonpy instead.

Why would it break? It does not affect what meson-python is adding internally.

This only removes the setting imposed by meson.bbclass
and only needs to change if meson.bbclass switches to -Dbuildtype.

+python_mesonpy_do_bootstrap_install () {
+    python_pep517_do_bootstrap_install
+}
This looks redundant and nothing calls it, remove.

Ok.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#103174): 
https://lists.openembedded.org/g/openembedded-devel/message/103174
Mute This Topic: https://lists.openembedded.org/mt/99379800/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to