summaryrefslogtreecommitdiffstats
path: root/meta/conf/multilib.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/multilib.conf')
-rw-r--r--meta/conf/multilib.conf12
1 files changed, 6 insertions, 6 deletions
diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf
index 4dc0543507..e74dec81a8 100644
--- a/meta/conf/multilib.conf
+++ b/meta/conf/multilib.conf
@@ -6,9 +6,9 @@ MULTILIB_SAVE_VARNAME = "DEFAULTTUNE TARGET_ARCH TARGET_SYS TARGET_VENDOR"
6 6
7MULTILIBS ??= "multilib:lib32" 7MULTILIBS ??= "multilib:lib32"
8 8
9STAGING_DIR_HOST = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" 9STAGING_DIR_HOST = "${WORKDIR}/${MLPREFIX}recipe-sysroot"
10STAGING_DIR_TARGET = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" 10STAGING_DIR_TARGET = "${WORKDIR}/${MLPREFIX}recipe-sysroot"
11PKGDATA_DIR = "${STAGING_DIR}/${MACHINE}/pkgdata" 11RECIPE_SYSROOT = "${WORKDIR}/${MLPREFIX}recipe-sysroot"
12 12
13INHERIT += "multilib_global" 13INHERIT += "multilib_global"
14 14
@@ -23,6 +23,6 @@ OPKG_ARGS_append = " --force-maintainer --force-overwrite"
23# find an allarch pkgconfig file will fail as the PKG_CONFIG_PATH only looks 23# find an allarch pkgconfig file will fail as the PKG_CONFIG_PATH only looks
24# inside the multilib sysroot. Fix this by explicitly adding the MACHINE's 24# inside the multilib sysroot. Fix this by explicitly adding the MACHINE's
25# architecture-independent pkgconfig location to PKG_CONFIG_PATH. 25# architecture-independent pkgconfig location to PKG_CONFIG_PATH.
26PKG_CONFIG_PATH .= ":${STAGING_DIR}/${MACHINE}${datadir}/pkgconfig" 26PKG_CONFIG_PATH .= ":${WORKDIR}/recipe-sysroot/${datadir}/pkgconfig"
27PKG_CONFIG_PATH[vardepsexclude] = "MACHINE datadir STAGING_DIR" 27PKG_CONFIG_PATH[vardepsexclude] = "datadir WORKDIR"
28PKG_CONFIG_PATH[vardepvalueexclude] = ":${STAGING_DIR}/${MACHINE}${datadir}/pkgconfig" 28PKG_CONFIG_PATH[vardepvalueexclude] = ":${WORKDIR}/recipe-sysroot/${datadir}/pkgconfig"