summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorMatthieu Crapet <Matthieu.Crapet@ingenico.com>2014-06-12 17:49:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-14 08:43:56 +0100
commita08ef9a3a3c3541a4dac6de6c395ba9e193fa41b (patch)
treec0e9d66419e9827ecf100a8bc12368eaa541a41f /meta/classes
parent6ad8d642d2a2ed3400967e1b504930bacd1961e2 (diff)
downloadpoky-a08ef9a3a3c3541a4dac6de6c395ba9e193fa41b.tar.gz
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. (From OE-Core rev: 15345ddd4be6a0b041b3d6caaad48d46b22142e9) Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/native.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 31f1c41ac6..9dec318aa8 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -77,7 +77,12 @@ base_prefix = "${STAGING_DIR_NATIVE}"
77prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 77prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
78exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 78exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
79 79
80libdir = "${STAGING_DIR_NATIVE}${libdir_native}" 80bindir = "${STAGING_BINDIR_NATIVE}"
81sbindir = "${STAGING_SBINDIR_NATIVE}"
82libdir = "${STAGING_LIBDIR_NATIVE}"
83includedir = "${STAGING_INCDIR_NATIVE}"
84sysconfdir = "${STAGING_ETCDIR_NATIVE}"
85datadir = "${STAGING_DATADIR_NATIVE}"
81 86
82baselib = "lib" 87baselib = "lib"
83 88