All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Kelly <mkelly@xevo.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH v2 0/7] meson: implement nativesdk support
Date: Fri,  1 Jun 2018 14:02:33 -0700	[thread overview]
Message-ID: <20180601210240.14969-1-mkelly@xevo.com> (raw)

This patch series implements nativesdk support fer meson. In order to do so, it
adds a few features to the toolchain-shar-extract functionality, which enables a
script to run prior to the SDK being extracted. This is important because the
meson.cross file (which meson uses to find its cross toolchain) allows for only
absolute paths. Thus, it is important to customize those paths to point to the
SDK at SDK extraction time. For comparison, cmake did not need this
functionality because it supports referencing environment variables in the
toolchain file, so we can just reference the SDK root environment variables. The
meson maintainers did not want to take that approach, so this seemed like the
best option.

If curious, see the following threads for more background information:
http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146210.html
http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146225.html
http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146236.html
http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146241.html
http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146261.html
http://lists.openembedded.org/pipermail/openembedded-core/2018-January/146262.html

v2:
- Switch to new version of patches to fix exe wrappers, as upstream tweaked the
  previous patch.

Martin Kelly (7):
  meson.bbclass: refactor native override
  nativesdk-python*: suppress user site dirs
  toolchain-shar-extract: allow non-sh post-relocate
  toolchain-shar-extract: print post-relocate error
  toolchain-shar-extract: pass env to post-relocate
  meson: handle exe wrappers
  meson: enable nativesdk

 meta/classes/meson.bbclass                         |  17 +-
 meta/classes/toolchain-scripts.bbclass             |  24 +-
 meta/recipes-core/meta/meta-environment.bb         |   5 +-
 meta/recipes-devtools/meson/meson.inc              |  22 +
 ...0004-Prettifying-some-output-with-pathlib.patch | 188 +++++
 ...on-command-to-use-when-we-know-what-it-is.patch | 851 +++++++++++++++++++++
 meta/recipes-devtools/meson/meson/meson-setup.py   |  62 ++
 meta/recipes-devtools/meson/meson/meson-wrapper    |  14 +
 meta/recipes-devtools/meson/meson_0.46.1.bb        |  20 +-
 .../meson/nativesdk-meson_0.46.1.bb                |  74 ++
 .../python/python-scons-native_3.0.1.bb            |   2 +-
 meta/recipes-devtools/python/python3_3.5.5.bb      |   2 +-
 meta/recipes-devtools/python/python_2.7.14.bb      |   2 +-
 13 files changed, 1244 insertions(+), 39 deletions(-)
 create mode 100644 meta/recipes-devtools/meson/meson.inc
 create mode 100644 meta/recipes-devtools/meson/meson/0004-Prettifying-some-output-with-pathlib.patch
 create mode 100644 meta/recipes-devtools/meson/meson/0005-Set-the-meson-command-to-use-when-we-know-what-it-is.patch
 create mode 100755 meta/recipes-devtools/meson/meson/meson-setup.py
 create mode 100755 meta/recipes-devtools/meson/meson/meson-wrapper
 create mode 100644 meta/recipes-devtools/meson/nativesdk-meson_0.46.1.bb

-- 
2.11.0



             reply	other threads:[~2018-06-01 21:03 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-01 21:02 Martin Kelly [this message]
2018-06-01 21:02 ` [PATCH v2 1/7] meson.bbclass: refactor native override Martin Kelly
2018-06-01 21:02 ` [PATCH v2 2/7] nativesdk-python*: suppress user site dirs Martin Kelly
2018-06-01 21:02 ` [PATCH v2 3/7] toolchain-shar-extract: allow non-sh post-relocate Martin Kelly
2018-06-01 21:02 ` [PATCH v2 4/7] toolchain-shar-extract: print post-relocate error Martin Kelly
2018-06-01 21:57   ` Joshua Watt
2018-06-01 22:00     ` Martin Kelly
2018-06-01 21:02 ` [PATCH v2 5/7] toolchain-shar-extract: pass env to post-relocate Martin Kelly
2018-06-01 22:08   ` Joshua Watt
2018-06-01 22:24     ` Martin Kelly
2018-06-04 17:20       ` Joshua Watt
2018-06-04 18:10         ` Martin Kelly
2018-06-04 18:20           ` Joshua Watt
2018-06-04 18:24             ` Martin Kelly
2018-06-04 18:42               ` Joshua Watt
2018-06-04 19:12                 ` Martin Kelly
2018-06-01 21:02 ` [PATCH v2 6/7] meson: handle exe wrappers Martin Kelly
2018-06-01 21:02 ` [PATCH v2 7/7] meson: enable nativesdk Martin Kelly
2019-01-07 12:41   ` Burton, Ross
2019-01-07 17:54     ` Martin Kelly
2019-01-07 17:55       ` Burton, Ross
2019-01-07 19:03         ` Martin Kelly

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=20180601210240.14969-1-mkelly@xevo.com \
    --to=mkelly@xevo.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.