generic-poky/meta/classes
Christopher Larson d1874becab multilib_global: expand multilib pref values properly
This ensures that in cases where the preference value changes when the
multilib override is applied, we correctly expand it in that context.

For example, for `PREFERRED_PROVIDER_${TARGET_PREFIX}gcc
= "gcc-external-cross-${TARGET_ARCH}"`, when it sets the prefixed version of
this, we want TARGET_ARCH expanded with the multilib applied, otherwise the
arch suffix will be incorrect for that context.

We ran into this trying to use preferences in meta-sourcery along with
multilibs. We worked around it there via PNBLACKLIST, but this fix should
still go into the core.

(From OE-Core rev: 4d208ebacb3a5d189998ac9be6d1a454c45aa975)

Signed-off-by: Christopher Larson <kergoth@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-07-08 00:01:20 +01:00
..
allarch.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
archiver.bbclass copyleft_filter.bbclass: Allow to filter on name 2015-06-23 11:46:57 +01:00
autotools-brokensep.bbclass autotools-brokensep: Mark recipes with broken separate build dir support 2014-02-28 14:01:16 +00:00
autotools.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
autotools_stage.bbclass autotools: deprecate autotools_stage class 2010-04-27 17:11:28 +01:00
base.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
bin_package.bbclass bin_package.bbclass: binary package recipe class 2012-09-10 13:01:46 +01:00
binconfig-disabled.bbclass binconfig-disabled.bbclass: fix echo command 2015-02-08 08:00:25 +00:00
binconfig.bbclass *.bbclass (shell): avoid pipe with sed 2014-05-08 13:00:33 +01:00
blacklist.bbclass blacklist.bbclass: Avoid blacklist specific handle in base.bbclass 2013-08-13 23:06:03 +01:00
bluetooth.bbclass bluetooth.bbclass: simplify recipe inference of bluetooth provider 2015-02-17 13:43:38 +00:00
boot-directdisk.bbclass boot-direct.bbclass: Add support for VDI images 2015-06-11 23:59:13 +01:00
bootimg.bbclass bootimg bbclass: don't hardcode 'bzImage' name 2015-07-02 23:08:39 +01:00
bugzilla.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
buildhistory.bbclass buildhistory.bbclass: Create a files-in-<pkg>.txt containg recipe's pkg files 2015-06-27 22:42:54 +01:00
buildstats-summary.bbclass buildstats-summary: add eventmask 2015-05-24 07:19:18 +01:00
buildstats.bbclass classes/buildstats: misc cleanups 2015-05-07 13:40:36 +01:00
ccache.bbclass meta: Don't use deprecated bitbake API 2013-09-01 15:51:42 +01:00
chrpath.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
clutter.bbclass clutter: remove usage of FILESPATH 2013-10-26 15:59:13 +01:00
cmake.bbclass cmake bbclass: fix support for native builds 2015-07-02 23:08:40 +01:00
cml1.bbclass ncurses, busybox, cml1.bbclass: Fix menuconfig display corruption 2014-11-09 10:21:23 +00:00
compress_doc.bbclass compress_doc.bbclass: support update-alternatives 2014-12-03 12:23:59 +00:00
copyleft_compliance.bbclass archiver.bbclass: make it can filter the license 2014-03-25 09:55:35 +00:00
copyleft_filter.bbclass copyleft_filter.bbclass: Allow to filter on name 2015-06-23 11:46:57 +01:00
core-image.bbclass core-image: split debug-tweaks into individual features 2015-02-08 08:00:25 +00:00
cpan-base.bbclass classes/cpan-base: fix signatures changing when perl is in sysroot 2014-02-17 15:28:58 +00:00
cpan.bbclass cpan.bbclass: matches more lines 2014-08-28 15:12:43 +01:00
cpan_build.bbclass cpan_build.bbclass: remove libmodule-build-perl 2015-07-01 15:39:58 +01:00
cross-canadian.bbclass cross-canadian/meta-environment: Allow modification of TARGET_OS to be optional 2015-01-16 23:08:19 +00:00
cross.bbclass cross.bbclass: delete package_qa task 2015-07-02 22:56:38 +01:00
crosssdk.bbclass crosssdk: Clear MACHINEOVERRIDES 2014-08-16 08:22:45 +01:00
debian.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
deploy.bbclass sstate: Get rid of crazy name mapping 2013-12-18 17:08:05 +00:00
devshell.bbclass devshell: allow the starting directory to be overridden 2015-03-16 17:41:55 +00:00
distro_features_check.bbclass distro_features_check: add any of test 2015-05-09 22:26:45 +01:00
distrodata.bbclass distrodata.bbclass: fix typo, Upsteam -> Upstream 2015-07-07 13:33:25 +01:00
distutils-base.bbclass classes/distutils: Introduce PYTHON_PN 2014-02-02 22:37:38 +00:00
distutils-common-base.bbclass distutils-common-base: add to, don't set, FILES_${PN} 2015-06-23 11:47:39 +01:00
distutils-native-base.bbclass classes/distutils: Introduce PYTHON_PN 2014-02-02 22:37:38 +00:00
distutils-tools.bbclass classes: Add distutils for python3 2014-02-02 22:37:39 +00:00
distutils.bbclass distutils: regenerate pyc files after being modified by sed 2015-06-23 11:46:56 +01:00
distutils3-base.bbclass python3: Change python BASEVERSION to 3.4 2015-05-07 13:40:33 +01:00
distutils3-native-base.bbclass python3: Change python BASEVERSION to 3.4 2015-05-07 13:40:33 +01:00
distutils3.bbclass distutils/distutils3: Fix bashism 2014-06-29 09:04:21 +01:00
externalsrc.bbclass classes/externalsrc: handle tasks with existing lockfiles 2015-06-18 09:14:06 +01:00
extrausers.bbclass extrausers.bbclass: avoid infinite loop 2013-11-06 11:02:26 +00:00
fontcache.bbclass fontcache: allow to pass different fontconfig cache dir 2015-04-21 07:20:25 +01:00
gconf.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
gettext.bbclass gettext: Improve USE_NLS handling for nativesdk/crosssdk/cross-canadian 2013-08-23 16:20:11 +01:00
gnome.bbclass gnome: set UNKNOWN_CONFIGURE_WHITELIST 2013-10-29 10:41:37 +00:00
gnomebase.bbclass gnomebase: fix indentation 2014-09-29 12:12:43 +01:00
grub-efi.bbclass grub-efi: Allow to use file name different from grub.cfg in GRUBCFG 2015-07-08 00:01:19 +01:00
gsettings.bbclass gsettings.bbclass: fix whitespace 2012-09-05 22:25:23 +01:00
gtk-doc.bbclass gtk-doc: Add pkgconfig inherit 2014-06-25 13:51:48 +01:00
gtk-icon-cache.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
gtk-immodules-cache.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
gummiboot.bbclass gummiboot.bbclass: Ensure MLPREFIX is applied to depends flag 2014-06-24 19:54:12 +01:00
gzipnative.bbclass gzipnative: Ensure dependencies apply to do_unpack and do_populate_lic 2013-09-22 12:19:43 +01:00
icecc.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
image-buildinfo.bbclass image-buildinfo.bbclass: new class, writes build information to image 2014-11-09 10:21:22 +00:00
image-live.bbclass image-live: Set syslinux timeout to 5s 2015-06-23 11:47:22 +01:00
image-mklibs.bbclass mklibs: Fix loader for mipsel 2014-10-30 13:01:21 +00:00
image-prelink.bbclass image/image-prelink/image-mklibs/sanity: Drop pointless EXPORT_FUNCTIONS 2014-04-01 23:37:01 +01:00
image-swab.bbclass image-swab.bbclass: Account for eglibc -> glibc move 2014-09-01 18:03:04 +01:00
image-vm.bbclass image: Support for VDI 2015-06-11 23:59:13 +01:00
image.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
image_types.bbclass image_types.bbclass: use pbzip2 for images requiring bz2 compression 2015-06-27 22:42:53 +01:00
image_types_uboot.bbclass image_types_uboot: Update to work after recent image_types changes 2012-02-29 18:25:03 +00:00
insane.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
kernel-arch.bbclass kernel-arch: Update mapping for MicroBlaze architectures 2015-05-05 22:15:17 +01:00
kernel-fitimage.bbclass kernel: Add basic fitImage support 2015-05-26 10:57:52 +01:00
kernel-grub.bbclass *.bbclass (shell): avoid pipe with sed 2014-05-08 13:00:33 +01:00
kernel-module-split.bbclass kernel-module-split.bbclass: Avoid bogus recommends for modules ending with -dev 2015-03-25 12:39:42 +00:00
kernel-uboot.bbclass kernel: Separate out uboot_prep_kimage 2015-05-26 10:57:51 +01:00
kernel-uimage.bbclass kernel: Build uImage only when really needed 2015-05-26 10:57:52 +01:00
kernel-yocto.bbclass linux-yocto: drop suggestion of devshell for patch failures 2015-05-24 07:19:17 +01:00
kernel.bbclass kernel: Pull uImage generation into separate class 2015-05-26 10:57:51 +01:00
kernelsrc.bbclass kernelsrc.bbclass: fix KERNEL_VERSION 2015-03-16 17:41:56 +00:00
lib_package.bbclass lib_package.bbclass: Correct comment referring to bin directories. 2013-01-07 11:09:42 +00:00
libc-common.bbclass libc-common.bbclass: rename ALL the packages 2014-08-23 23:01:57 +01:00
libc-package.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
license.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
linux-kernel-base.bbclass kernel: Rearrange for 1.8 2014-12-21 12:37:53 +00:00
logging.bbclass logging.bbclass: avoid bashism in bbdebug() 2015-06-23 11:46:56 +01:00
meta.bbclass meta: fix no newline at end of file 2014-07-03 17:41:16 +01:00
metadata_scm.bbclass metadata_scm: Fix crash due to uncaught python exception 2014-12-03 12:23:59 +00:00
migrate_localcount.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
mime.bbclass mime.bbclass: remove the --disable-update-mimedb 2014-01-06 11:13:56 +00:00
mirrors.bbclass mirrors.bbclass: drop support for svk sources 2015-05-05 22:15:17 +01:00
module-base.bbclass module/module-base/lttng-modules: Improve kernel module dependencies 2015-05-14 11:43:56 +01:00
module.bbclass module/module-base/lttng-modules: Improve kernel module dependencies 2015-05-14 11:43:56 +01:00
multilib.bbclass multilib.bbclass: use package_qa_handle_error 2015-06-11 23:59:16 +01:00
multilib_global.bbclass multilib_global: expand multilib pref values properly 2015-07-08 00:01:20 +01:00
multilib_header.bbclass multilib_header: Do not install mutlilib headers for musl 2014-06-01 14:29:29 +01:00
native.bbclass native: Improve PROVIDES handling 2015-05-26 10:57:51 +01:00
nativesdk.bbclass nativesdk.bbclass: set PKGDATA_DIR explicitly 2015-03-16 17:41:53 +00:00
oelint.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
own-mirrors.bbclass mirrors.bbclass: drop support for svk sources 2015-05-05 22:15:17 +01:00
package.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
package_deb.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
package_ipk.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
package_rpm.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
package_tar.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
packagedata.bbclass packagedata: Fix to ensure variables expand correctly 2015-06-16 14:21:29 +01:00
packagegroup.bbclass packagegroup.bbclass: Use immediate expanded PACKAGE_ARCH value 2014-09-10 15:38:57 +01:00
packageinfo.bbclass bitbake.conf/package: Collapse PKGDATA_DIR into a single machine specific directory 2013-09-14 08:21:00 +01:00
patch.bbclass patch.bbclass: unset TMPDIR after use 2014-06-29 09:04:22 +01:00
perlnative.bbclass base/perlnative/pythonnative/gzipnative: Add a new variable to enable easier handling of native path issues 2012-07-26 14:56:20 +01:00
pixbufcache.bbclass pixbufcache.bbclass: add harfbuzz-native to PIXBUFCACHE_SYSROOT_DEP 2015-03-16 17:41:56 +00:00
pkgconfig.bbclass pkgconfig: Drop automatic pkgconfig RDEPENDS 2012-10-18 12:13:12 +01:00
populate_sdk.bbclass nativesdk: Switch to using nativesdk as a prefix, not a suffix 2012-09-02 05:52:06 -07:00
populate_sdk_base.bbclass populate_sdk_base.bbclass: use pbzip2 to compress SDK tarfiles 2015-06-27 22:42:53 +01:00
populate_sdk_ext.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
prexport.bbclass utility-tasks/distrodata: Add recideptask flag for fetchall/checkuriall 2013-06-20 13:10:46 +01:00
primport.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
prserv.bbclass package/prserv: Merge two similar functions into one 2014-11-09 10:21:19 +00:00
ptest-gnome.bbclass ptest-gnome: add ptest helper for GNOME packages 2014-07-25 15:33:59 +01:00
ptest.bbclass ptest: add recommends to ptest-runner 2015-04-27 15:34:59 +01:00
python-dir.bbclass distutils: Introduce PYTHON_ABI variable 2014-02-02 22:37:39 +00:00
python3native.bbclass python3: Change python BASEVERSION to 3.4 2015-05-07 13:40:33 +01:00
pythonnative.bbclass pythonnative: set PYTHON_EXECUTABLE so that cmake can find it 2014-12-25 08:18:13 +00:00
qemu.bbclass qemu/libc-package: Fix qemu option handling 2014-12-05 18:01:08 +00:00
qmake2.bbclass qt: update qmake2 class to export qconfig.pri mkspec 2013-06-13 17:38:11 +01:00
qmake_base.bbclass qmake_base.bbclass: fix hardcoded paths in a generated qt.conf 2015-02-14 08:40:57 +00:00
qt4e.bbclass Revert "qt4*.bbclass: disable build qt on mips64 with 64 bits userspace" 2014-12-05 18:01:05 +00:00
qt4x11.bbclass recipes-qt: add x11 to required DISTRO_FEATURES 2015-01-29 15:36:51 +00:00
recipe_sanity.bbclass recipe_sanity.bbclass: avoid error when running 'bitbake -e' 2014-04-23 11:43:27 +01:00
relocatable.bbclass relocatable.bbclass: split it up, to reuse code 2012-08-02 15:28:39 +01:00
report-error.bbclass report-error.bbclass: Added file syncronization. 2015-07-08 00:01:18 +01:00
rm_work.bbclass kernel/rm_work: Improve interaction 2015-05-15 17:44:59 +01:00
rootfs_deb.bbclass rootfs_*: Refactor common depends/lockfile task flags 2014-08-15 18:21:46 +01:00
rootfs_ipk.bbclass opkg: Merge in opkg-collateral 2015-02-03 14:53:56 +00:00
rootfs_rpm.bbclass rootfs_*: Refactor common depends/lockfile task flags 2014-08-15 18:21:46 +01:00
rootfsdebugfiles.bbclass rootfsdebugfiles.bbclass: quick-and-dirty installation of additional files 2015-04-24 11:06:55 +01:00
sanity.bbclass sanity.bbclass: Check if /tmp is writable 2015-07-02 23:08:39 +01:00
scons.bbclass scons bbclass: enable parallel make 2014-01-28 00:52:36 +00:00
sdl.bbclass classes/sdl: remove Opie-specific desktop file/packaging 2012-02-21 17:00:46 +00:00
setuptools.bbclass classes: Add distutils for python3 2014-02-02 22:37:39 +00:00
setuptools3.bbclass python3-distribute: Upgrade to python3-setuptools 15.2 2015-06-08 17:34:04 +01:00
sip.bbclass *.bbclass (shell): avoid pipe with sed 2014-05-08 13:00:33 +01:00
siteconfig.bbclass meta-environment: Fix config-site with a multilib config 2014-11-12 15:38:33 +00:00
siteinfo.bbclass siteinfo.bbclass: Add MicroBlaze big endian target info 2015-05-05 22:15:17 +01:00
spdx.bbclass spdx.bbclass: improved error handling and code cleanup 2014-11-20 14:08:14 +00:00
sstate.bbclass oe/utils.py: Add support for init/end helper functions in ThreadWorker. 2015-06-26 09:27:30 +01:00
staging.bbclass staging: Strip files in sysroot 2015-06-23 16:07:23 +01:00
syslinux.bbclass INITRD var: make it a list of filesystem images 2014-08-02 09:26:14 +01:00
systemd.bbclass systemd.bbclass: drop has_exactly_one_service setting 2015-05-14 11:44:00 +01:00
terminal.bbclass terminal.bbclass: do not export PS1 2014-01-10 15:16:52 +00:00
testimage-auto.bbclass testimage: add task level lock 2014-03-05 15:50:20 +00:00
testimage.bbclass testimage: Don't test xorg/vnc on qemuarm64 2015-06-27 22:50:41 +01:00
texinfo.bbclass texinfo.bbclass: native/cross uses dummy texinfo; target uses host's Texinfo. 2014-06-13 12:31:38 +01:00
tinderclient.bbclass meta/classes: Various python whitespace fixes 2012-08-21 12:15:30 +01:00
toaster.bbclass toaster.bbclass: do not add symbolic links to artifacts 2015-03-31 22:23:12 +01:00
toolchain-scripts.bbclass toolchain-scripts: fix for multilib 2015-06-26 09:28:53 +01:00
typecheck.bbclass classes/conf: Add eventmasks for event handlers 2013-06-14 12:55:47 +01:00
uboot-config.bbclass uboot-config.bbclass: Allow multiple U-Boot config for machine 2015-02-08 08:00:24 +00:00
uninative.bbclass uninative: Add uninative - a way of reusing native/cross over multiple distros 2014-09-23 20:31:18 +01:00
update-alternatives.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
update-rc.d.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
useradd-staticids.bbclass useradd-staticids.bbclass: Fix for Bug 6633 2014-09-03 16:00:28 +01:00
useradd.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
useradd_base.bbclass useradd_base.bbclass: typo fixes (s/scucess/success/) 2015-04-08 10:53:18 +01:00
utility-tasks.bbclass meta: Add explict getVar param for (non) expansion 2015-06-23 11:57:25 +01:00
utils.bbclass utils.bbclass: fix create_cmdline_wrapper 2015-02-17 22:35:02 +00:00
vala.bbclass vala.bbclass: enable PARALLEL_MAKE 2015-02-15 21:58:27 +00:00
waf.bbclass waf.bbclass: add waf build system class 2013-09-06 23:03:22 +01:00