diff options
author | Matthieu Crapet <Matthieu.Crapet@ingenico.com> | 2014-06-12 17:49:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-06-14 08:43:41 +0100 |
commit | 15345ddd4be6a0b041b3d6caaad48d46b22142e9 (patch) | |
tree | 2c822194137168c883fecdb3b898e6db146d8745 /meta/conf/bitbake.conf | |
parent | 5824293de37919e89f60192836997281933e23d6 (diff) | |
download | openembedded-core-15345ddd4be6a0b041b3d6caaad48d46b22142e9.tar.gz openembedded-core-15345ddd4be6a0b041b3d6caaad48d46b22142e9.tar.bz2 openembedded-core-15345ddd4be6a0b041b3d6caaad48d46b22142e9.zip |
native.bbclass: Properly define directories
For most users this commit will have no effect. But if you come across the idea of giving
different names for paths, you'll get some troubles.
When a recipe inherit native, properly define bindir, sbindir, includedir, sysconfdir, datadir
(using xxxdir_native definitions from meta/conf/bitbake.conf).
For example, edit "${BASE_WORKDIR}/${MULTIMACH_TARGET_SYS}/quilt-native/temp/log.do_configure"
and see what are the arguments given by oe_runconf.
Notice that ${docdir}, ${mandir}, ${infodir}, ${localstatedir} have no associated _native definition.
Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/bitbake.conf')
-rw-r--r-- | meta/conf/bitbake.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index 1856142927..49b37196ff 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -24,11 +24,11 @@ export base_libdir = "${base_prefix}/${baselib}" export nonarch_base_libdir = "${base_prefix}/lib" # Architecture independent paths -export datadir = "${prefix}/share" export sysconfdir = "${base_prefix}/etc" export servicedir = "${base_prefix}/srv" export sharedstatedir = "${base_prefix}/com" export localstatedir = "${base_prefix}/var" +export datadir = "${prefix}/share" export infodir = "${datadir}/info" export mandir = "${datadir}/man" export docdir = "${datadir}/doc" @@ -347,6 +347,7 @@ STAGING_BINDIR_TOOLCHAIN = "${STAGING_DIR_NATIVE}${bindir_native}/${TARGET_ARCH} STAGING_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${libdir_native}" STAGING_LIBEXECDIR_NATIVE = "${STAGING_DIR_NATIVE}${libexecdir_native}" STAGING_BASE_LIBDIR_NATIVE = "${STAGING_DIR_NATIVE}${base_libdir_native}" +STAGING_SBINDIR_NATIVE = "${STAGING_DIR_NATIVE}${sbindir_native}" STAGING_INCDIR_NATIVE = "${STAGING_DIR_NATIVE}${includedir_native}" STAGING_ETCDIR_NATIVE = "${STAGING_DIR_NATIVE}${sysconfdir_native}" STAGING_DATADIR_NATIVE = "${STAGING_DIR_NATIVE}${datadir_native}" |