summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorPau Espin Pedrol <pau.espin@aweurope.be>2015-07-30 13:33:11 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-09 15:14:31 -0700
commitab26953276c543582fbaf2ad6f0a02d712ed90ea (patch)
treea122ddf647466c945be519cb62595ee653377125 /meta
parent57064ac9ccd8a3783789d11feb5a51351cd924bf (diff)
downloadopenembedded-core-ab26953276c543582fbaf2ad6f0a02d712ed90ea.tar.gz
openembedded-core-ab26953276c543582fbaf2ad6f0a02d712ed90ea.tar.bz2
openembedded-core-ab26953276c543582fbaf2ad6f0a02d712ed90ea.zip
bitbake.conf: Add nonarch_libdir and base systemd vars on it
Signed-off-by: Pau Espin Pedrol <pau.espin@aweurope.be> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/bitbake.conf5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf
index 730ab80dbd..21f1698c2b 100644
--- a/meta/conf/bitbake.conf
+++ b/meta/conf/bitbake.conf
@@ -32,7 +32,10 @@ export datadir = "${prefix}/share"
export infodir = "${datadir}/info"
export mandir = "${datadir}/man"
export docdir = "${datadir}/doc"
-export systemd_unitdir = "/lib/systemd"
+export systemd_unitdir = "${nonarch_base_libdir}/systemd"
+export systemd_system_unitdir = "${nonarch_base_libdir}/systemd/system"
+export nonarch_libdir = "${exec_prefix}/lib"
+export systemd_user_unitdir = "${nonarch_libdir}/systemd/user"
# Architecture dependent paths
export bindir = "${exec_prefix}/bin"