aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/classes
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2017-03-11 05:58:52 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-03-16 23:32:40 +0100
commitb9534442f0ebfae64c0c429750ba95c20934b956 (patch)
tree913237f6d6878c3b364a5feed8f410238edc19d5 /meta-oe/classes
parentf07b8a21962bf8df042725a828848dd5e06754c6 (diff)
downloadmeta-openembedded-contrib-b9534442f0ebfae64c0c429750ba95c20934b956.tar.gz
meson.bbclass: Add support for more standard installation directories
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> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/classes')
-rw-r--r--meta-oe/classes/meson.bbclass6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-oe/classes/meson.bbclass b/meta-oe/classes/meson.bbclass
index 4be4b10682c..1362fd22b05 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}"