diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2016-08-17 22:31:25 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2016-08-22 19:43:26 +0300 |
commit | 60f9d69e016b11c468c98ea75ba0a60c44afbbc4 (patch) | |
tree | ecb49581a9e41a37943c22cd9ef3f63451b20ee7 /import-layers/yocto-poky/meta/conf/multilib.conf | |
parent | e18c61205e0234b03697129c20cc69c9b3940efc (diff) | |
download | openbmc-60f9d69e016b11c468c98ea75ba0a60c44afbbc4.tar.xz |
yocto-poky: Move to import-layers subdir
We are going to import additional layers, so create a subdir to
hold all of the layers that we import with git-subtree.
Change-Id: I6f732153a22be8ca663035c518837e3cc5ec0799
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Diffstat (limited to 'import-layers/yocto-poky/meta/conf/multilib.conf')
-rw-r--r-- | import-layers/yocto-poky/meta/conf/multilib.conf | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/import-layers/yocto-poky/meta/conf/multilib.conf b/import-layers/yocto-poky/meta/conf/multilib.conf new file mode 100644 index 000000000..50303fb5d --- /dev/null +++ b/import-layers/yocto-poky/meta/conf/multilib.conf @@ -0,0 +1,27 @@ + +baselib = "${@d.getVar('BASE_LIB_tune-' + (d.getVar('DEFAULTTUNE', True) or 'INVALID'), True) or d.getVar('BASELIB', True)}" + +MULTILIB_VARIANTS = "${@extend_variants(d,'MULTILIBS','multilib')}" +MULTILIB_SAVE_VARNAME = "DEFAULTTUNE TARGET_ARCH TARGET_SYS TARGET_VENDOR" + +MULTILIBS ??= "multilib:lib32" + +STAGING_DIR_HOST = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" +STAGING_DIR_TARGET = "${STAGING_DIR}/${MLPREFIX}${MACHINE}" +PKGDATA_DIR = "${STAGING_DIR}/${MACHINE}/pkgdata" + +INHERIT += "multilib_global" + +BBCLASSEXTEND_append = " ${MULTILIBS}" + +MULTILIB_GLOBAL_VARIANTS ?= "lib32 lib64 libx32" + +OPKG_ARGS_append = " --force-maintainer --force-overwrite" + +# When multilib is enabled, allarch recipes will be installed into the MACHINE +# sysroot, not MLPREFIXMACHINE. This means that anything using pkg-config to +# find an allarch pkgconfig file will fail as the PKG_CONFIG_PATH only looks +# inside the multilib sysroot. Fix this by explicitly adding the MACHINE's +# architecture-independent pkgconfig location to PKG_CONFIG_PATH. +PKG_CONFIG_PATH .= ":${STAGING_DIR}/${MACHINE}${datadir}/pkgconfig" +PKG_CONFIG_PATH[vardepsexclude] = "MACHINE" |