diff options
Diffstat (limited to 'meta/conf/multilib.conf')
-rw-r--r-- | meta/conf/multilib.conf | 12 |
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 | ||
7 | MULTILIBS ??= "multilib:lib32" | 7 | MULTILIBS ??= "multilib:lib32" |
8 | 8 | ||
9 | STAGING_DIR_HOST = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" | 9 | STAGING_DIR_HOST = "${WORKDIR}/${MLPREFIX}recipe-sysroot" |
10 | STAGING_DIR_TARGET = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" | 10 | STAGING_DIR_TARGET = "${WORKDIR}/${MLPREFIX}recipe-sysroot" |
11 | PKGDATA_DIR = "${STAGING_DIR}/${MACHINE}/pkgdata" | 11 | RECIPE_SYSROOT = "${WORKDIR}/${MLPREFIX}recipe-sysroot" |
12 | 12 | ||
13 | INHERIT += "multilib_global" | 13 | INHERIT += "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. |
26 | PKG_CONFIG_PATH .= ":${STAGING_DIR}/${MACHINE}${datadir}/pkgconfig" | 26 | PKG_CONFIG_PATH .= ":${WORKDIR}/recipe-sysroot/${datadir}/pkgconfig" |
27 | PKG_CONFIG_PATH[vardepsexclude] = "MACHINE datadir STAGING_DIR" | 27 | PKG_CONFIG_PATH[vardepsexclude] = "datadir WORKDIR" |
28 | PKG_CONFIG_PATH[vardepvalueexclude] = ":${STAGING_DIR}/${MACHINE}${datadir}/pkgconfig" | 28 | PKG_CONFIG_PATH[vardepvalueexclude] = ":${WORKDIR}/recipe-sysroot/${datadir}/pkgconfig" |