[oe-commits] [openembedded-core] 23/32: meson.bbclass: add MESON_LINK_ARGS to vardeps

git at git.openembedded.org git at git.openembedded.org
Thu Jan 18 23:32:36 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit d55d6a868377f874c9cc242d389cdce42eeea019
Author: Martin Kelly <mkelly at xevo.com>
AuthorDate: Wed Jan 17 11:22:57 2018 -0800

    meson.bbclass: add MESON_LINK_ARGS to vardeps
    
    Currently, we include MESON_C_ARGS in write_config[vardeps], but we
    don't include MESON_LINK_ARGS, which also affects meson.cross. In
    addition, we include TOOLCHAIN_OPTIONS, from which both are derived.
    
    Add MESON_LINK_ARGS, and remove TOOLCHAIN_OPTIONS, which does not
    directly appear in meson.cross and should be pulled in indirectly by
    MESON_C_ARGS and MESON_LINK_ARGS.
    
    Signed-off-by: Martin Kelly <mkelly at xevo.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/meson.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index 4ab242d..91ac652 100644
--- a/meta/classes/meson.bbclass
+++ b/meta/classes/meson.bbclass
@@ -44,7 +44,7 @@ def meson_array(var, d):
     return "', '".join(d.getVar(var).split()).join(("'", "'"))
 
 addtask write_config before do_configure
-do_write_config[vardeps] += "MESON_C_ARGS MESON_CPP_ARGS TOOLCHAIN_OPTIONS"
+do_write_config[vardeps] += "MESON_C_ARGS MESON_CPP_ARGS MESON_LINK_ARGS"
 do_write_config() {
     # This needs to be Py to split the args into single-element lists
     cat >${WORKDIR}/meson.cross <<EOF

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list