diff options
author | Saul Wold <sgw@linux.intel.com> | 2012-10-15 15:19:10 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-10-18 12:13:44 +0100 |
commit | 1d18224b24a515a07170ce36dbd725cb203d3300 (patch) | |
tree | 7844a73e8c7c7b12914e85d31435d1e1fd4170a0 /meta/conf/bitbake.conf | |
parent | aee0f321ef939e7d7ad9585a66e8cb22cad7514f (diff) | |
download | poky-1d18224b24a515a07170ce36dbd725cb203d3300.tar.gz |
bitbake.conf: change libexecdir to ${libdir}/${BPN}
In order to be more compliant with the Filesystem Hierarchs
Standard (FHS), this change removes the /usr/libexec default
in favor of ${libdir}/${BPN} (which is typically /usr/lib).
http://www.pathname.com/fhs/pub/fhs-2.3.html
This also address the native and STAGING variations
[YOCTO #2915]
(From OE-Core rev: 68c31b095a1cb20bd297df596024fc568614f5e8)
(From OE-Core rev: 406bd38b4232f9f399ef5ffe0b4fac72ed605a23)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 324dc9fd14..64bcd425c2 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -35,8 +35,8 @@ export docdir = "${datadir}/doc" | |||
35 | # Architecture dependent paths | 35 | # Architecture dependent paths |
36 | export bindir = "${exec_prefix}/bin" | 36 | export bindir = "${exec_prefix}/bin" |
37 | export sbindir = "${exec_prefix}/sbin" | 37 | export sbindir = "${exec_prefix}/sbin" |
38 | export libexecdir = "${exec_prefix}/libexec" | ||
39 | export libdir = "${exec_prefix}/${baselib}" | 38 | export libdir = "${exec_prefix}/${baselib}" |
39 | export libexecdir = "${libdir}/${BPN}" | ||
40 | export includedir = "${exec_prefix}/include" | 40 | export includedir = "${exec_prefix}/include" |
41 | export oldincludedir = "${exec_prefix}/include" | 41 | export oldincludedir = "${exec_prefix}/include" |
42 | export systemd_unitdir = "${base_libdir}/systemd" | 42 | export systemd_unitdir = "${base_libdir}/systemd" |
@@ -51,6 +51,7 @@ bindir_native = "${prefix_native}/bin" | |||
51 | sbindir_native = "${prefix_native}/sbin" | 51 | sbindir_native = "${prefix_native}/sbin" |
52 | includedir_native = "${prefix_native}/include" | 52 | includedir_native = "${prefix_native}/include" |
53 | libdir_native = "${prefix_native}/lib" | 53 | libdir_native = "${prefix_native}/lib" |
54 | libexecdir_native = "${libdir_native}/${BPN}" | ||
54 | base_libdir_native = "/lib" | 55 | base_libdir_native = "/lib" |
55 | datadir_native = "${prefix_native}/share" | 56 | datadir_native = "${prefix_native}/share" |
56 | bindir_cross = "/bin" | 57 | bindir_cross = "/bin" |
@@ -350,6 +351,7 @@ STAGING_BINDIR_NATIVE = "${STAGING_DIR_NATIVE}${bindir_native}" | |||
350 | STAGING_BINDIR_CROSS = "${STAGING_BINDIR}/crossscripts" | 351 | STAGING_BINDIR_CROSS = "${STAGING_BINDIR}/crossscripts" |
351 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" | 352 | STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TUNE_PKGARCH}${TARGET_VENDOR}-${TARGET_OS}" |
352 | STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${libdir_native}" | 353 | STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${libdir_native}" |
354 | STAGING_LIBEXECDIR_NATIVE = "${STAGING_DIR_NATIVE}${libexecdir_native}" | ||
353 | STAGING_BASE_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${base_libdir_native}" | 355 | STAGING_BASE_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${base_libdir_native}" |
354 | STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}${includedir_native}" | 356 | STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}${includedir_native}" |
355 | STAGING_ETCDIR_NATIVE = "${STAGING_DIR_NATIVE}${sysconfdir_native}" | 357 | STAGING_ETCDIR_NATIVE = "${STAGING_DIR_NATIVE}${sysconfdir_native}" |
@@ -358,6 +360,7 @@ STAGING_DATADIR_NATIVE = "${STAGING_DIR_NATIVE}${datadir_native}" | |||
358 | STAGING_DIR_HOST = "${STAGING_DIR}/${MACHINE}" | 360 | STAGING_DIR_HOST = "${STAGING_DIR}/${MACHINE}" |
359 | STAGING_BINDIR = "${STAGING_DIR_HOST}${bindir}" | 361 | STAGING_BINDIR = "${STAGING_DIR_HOST}${bindir}" |
360 | STAGING_LIBDIR = "${STAGING_DIR_HOST}${libdir}" | 362 | STAGING_LIBDIR = "${STAGING_DIR_HOST}${libdir}" |
363 | STAGING_LIBEXECDIR = "${STAGING_DIR_HOST}${libexecdir}" | ||
361 | STAGING_BASELIBDIR = "${STAGING_DIR_HOST}${base_libdir}" | 364 | STAGING_BASELIBDIR = "${STAGING_DIR_HOST}${base_libdir}" |
362 | STAGING_INCDIR = "${STAGING_DIR_HOST}${includedir}" | 365 | STAGING_INCDIR = "${STAGING_DIR_HOST}${includedir}" |
363 | STAGING_DATADIR = "${STAGING_DIR_HOST}${datadir}" | 366 | STAGING_DATADIR = "${STAGING_DIR_HOST}${datadir}" |