Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Linus Svensson <linus.svensson@axis.com>
To: <openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/9] meson: add a recipe and class from meta-oe
Date: Fri, 15 Dec 2017 17:01:39 +0100	[thread overview]
Message-ID: <5A33F1E3.8020205@axis.com> (raw)
In-Reply-To: <1513351792.21903.53.camel@andred.net>

On 12/15/2017 04:29 PM, André Draszik wrote:
> On Thu, 2017-12-07 at 11:27 -0800, Andre McCurdy wrote:
>>> +MESON_TARGET_ENDIAN = "${@bb.utils.contains('TUNE_FEATURES',
>>> 'bigendian', 'big', 'little', d)}"
>> This won't work for all targets (e.g. PowerPC is big endian but
>> doesn't include "bigendian" in TUNE_FEATURES). To determine the
>> endianness of the target, use SITEINFO_ENDIANNESS instead.
> ${MESON_TARGET_ENDIAN} is used inside a [target_machine] statement, though.
> Not sure about the naming and intention here...
meson define host,target and build the same way as autotools do.
meson will fetch information about the build machine from the environment
and host/target is specified in the cross-file. The intention with this
statement is to specify the endianness for the target system. Is that
information available in oe?

 From mesonbuild.com:
target machine is the machine on which the compiled binary's output will run
(this is only meaningful for programs such as compilers that, when run,
produce object code for a different CPU than what the program is being 
run on)

/Linus


  reply	other threads:[~2017-12-15 16:09 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-17 12:02 [PATCH 0/9] Introduce meson build system Alexander Kanavin
2017-11-17 12:02 ` [PATCH 1/9] meson: add a recipe and class from meta-oe Alexander Kanavin
2017-12-07 15:06   ` Peter Kjellerstedt
2017-12-15 14:57     ` Alexander Kanavin
2017-12-07 19:27   ` Andre McCurdy
2017-12-15 15:04     ` Alexander Kanavin
2017-12-15 15:29     ` André Draszik
2017-12-15 16:01       ` Linus Svensson [this message]
2017-12-15 16:13         ` Alexander Kanavin
2017-11-17 12:02 ` [PATCH 2/9] gnomebase.bbclass: split into autotools and meson versions Alexander Kanavin
2017-11-17 12:02 ` [PATCH 3/9] json-glib: convert to meson build Alexander Kanavin
2017-11-17 12:02 ` [PATCH 4/9] libepoxy: " Alexander Kanavin
2017-11-17 12:02 ` [PATCH 5/9] libinput: " Alexander Kanavin
2017-11-17 12:02 ` [PATCH 6/9] sysprof: " Alexander Kanavin
2017-11-17 12:02 ` [PATCH 7/9] gst-player: Upgrade, rename to gst-examples Alexander Kanavin
2017-11-17 12:02 ` [PATCH 8/9] meson: Port pkgconfig-native patch to 0.43.0 Alexander Kanavin
2017-11-17 12:02 ` [PATCH 9/9] meson: export native env only for native build Alexander Kanavin
  -- strict thread matches above, loose matches on Subject: below --
2017-12-21 13:04 [PATCH 1/9] meson: add a recipe and class from meta-oe Alexander Kanavin
2018-01-04 13:12 Alexander Kanavin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5A33F1E3.8020205@axis.com \
    --to=linus.svensson@axis.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox