Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
To: openembedded-devel@lists.openembedded.org
Subject: [PATCH 2/5] meson.bbclass: Add support for more standard installation directories
Date: Sat, 11 Mar 2017 05:58:52 +0100	[thread overview]
Message-ID: <20170311045855.3665-2-pkj@axis.com> (raw)
In-Reply-To: <20170311045855.3665-1-pkj@axis.com>

A couple of more standard installation directories are supported with
meson 0.37.1, so make sure they are configured.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
---
 meta-oe/classes/meson.bbclass | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass
index 4be4b1068..1362fd22b 100644
--- a/meta-oe/classes/meson.bbclass
+++ b/meta-oe/classes/meson.bbclass
@@ -18,13 +18,17 @@ def noprefix(var, d):
 
 MESONOPTS = " --prefix ${prefix} \
               --bindir ${@noprefix('bindir', d)} \
+              --sbindir ${@noprefix('sbindir', d)} \
               --datadir ${@noprefix('datadir', d)} \
               --libdir ${@noprefix('libdir', d)} \
               --libexecdir ${@noprefix('libexecdir', d)} \
               --includedir ${@noprefix('includedir', d)} \
               --mandir ${@noprefix('mandir', d)} \
+              --infodir ${@noprefix('infodir', d)} \
               --localedir ${@noprefix('localedir', d)} \
-              --sysconfdir ${sysconfdir}"
+              --sysconfdir ${sysconfdir} \
+              --localstatedir ${localstatedir} \
+              --sharedstatedir ${sharedstatedir}"
 
 MESON_C_ARGS = "${HOST_CC_ARCH}${TOOLCHAIN_OPTIONS}"
 
-- 
2.12.0



  reply	other threads:[~2017-03-11  4:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-11  4:58 [PATCH 1/5] meson: Update to 0.37.1 Peter Kjellerstedt
2017-03-11  4:58 ` Peter Kjellerstedt [this message]
2017-03-11  4:58 ` [PATCH 3/5] meson.bbclass: Make changes to meson.build files trigger reconfiguration Peter Kjellerstedt
2017-03-11  4:58 ` [PATCH 4/5] meson.bbclass: Support building for native Peter Kjellerstedt
2017-03-11  4:58 ` [PATCH 5/5] meson.bbclass: Use the correct C++ compiler when cross compiling Peter Kjellerstedt
2017-03-11  5:11   ` Khem Raj
2017-03-11  5:24     ` Peter Kjellerstedt

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=20170311045855.3665-2-pkj@axis.com \
    --to=peter.kjellerstedt@axis.com \
    --cc=openembedded-devel@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