diff options
author | Ross Burton <ross.burton@intel.com> | 2013-04-30 20:35:54 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-22 23:42:38 +0000 |
commit | e7270e331560546d3805cd66ed14afcbc96b6d89 (patch) | |
tree | 9430f2f42e3f2babfc131a47b6979eb2316a4398 /meta/conf/bitbake.conf | |
parent | 0dc0d23962312b4985eebaf32073d3f4a5d8081b (diff) | |
download | openembedded-core-e7270e331560546d3805cd66ed14afcbc96b6d89.tar.gz openembedded-core-e7270e331560546d3805cd66ed14afcbc96b6d89.tar.bz2 openembedded-core-e7270e331560546d3805cd66ed14afcbc96b6d89.zip |
bitbake: set default libexecdir to $prefix/libexec
The use of $libdir/$BPN as libexecdir is contrary to all other mainstream
distributions (which either use $prefix/libexec or $libdir), and the GNU Coding
Standards[1] which suggests $prefix/libexec and notes that any package-specific
nesting should be done by the package itself. Finally, having libexecdir change
between recipes makes it very difficult for different recipes to invoke binaries
that have been installed into libexecdir. The File System Hierarchy[2] now
recognises the use of $prefix/libexec/, giving distributions the choice of
$prefix/lib or $prefix/libexec without breaking FHS.
Change bitbake.conf to use $prefix/libexec for libexecdir, so that the binaries
are separated from the libraries. This should avoid complications with multilib
configurations.
[1] https://www.gnu.org/prep/standards/html_node/Directory-Variables.html
[2] http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html
[ YOCTO #6398 ]
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 3a1953785e..7451eb8287 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -41,7 +41,7 @@ export systemd_user_unitdir = "${nonarch_libdir}/systemd/user" export bindir = "${exec_prefix}/bin" export sbindir = "${exec_prefix}/sbin" export libdir = "${exec_prefix}/${baselib}" -export libexecdir = "${libdir}/${BPN}" +export libexecdir = "${exec_prefix}/libexec" export includedir = "${exec_prefix}/include" export oldincludedir = "${exec_prefix}/include" localedir = "${libdir}/locale" @@ -55,7 +55,7 @@ bindir_native = "${prefix_native}/bin" sbindir_native = "${prefix_native}/sbin" includedir_native = "${prefix_native}/include" libdir_native = "${prefix_native}/lib" -libexecdir_native = "${libdir_native}/${BPN}" +libexecdir_native = "${prefix_native}/libexec" base_libdir_native = "/lib" datadir_native = "${prefix_native}/share" bindir_cross = "/bin" |