mirror of
https://git.yoctoproject.org/poky
synced 2026-04-30 12:32:12 +02:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
6ad8d642d2
commit
a08ef9a3a3
@@ -77,7 +77,12 @@ base_prefix = "${STAGING_DIR_NATIVE}"
|
||||
prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
|
||||
exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
|
||||
|
||||
libdir = "${STAGING_DIR_NATIVE}${libdir_native}"
|
||||
bindir = "${STAGING_BINDIR_NATIVE}"
|
||||
sbindir = "${STAGING_SBINDIR_NATIVE}"
|
||||
libdir = "${STAGING_LIBDIR_NATIVE}"
|
||||
includedir = "${STAGING_INCDIR_NATIVE}"
|
||||
sysconfdir = "${STAGING_ETCDIR_NATIVE}"
|
||||
datadir = "${STAGING_DATADIR_NATIVE}"
|
||||
|
||||
baselib = "lib"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user