generic-poky/meta/classes
Richard Purdie 13ecfdb331 packagegroup/allarch: Convert to use allarch class
Currently there is some odd behaviour of the packagegroup class in relation
to sstate since it sets PACKAGE_ARCH = "all" but does not use the allarch class
leading to it being undetected by sstate.

Previously it was not possible to use allarch as the recipe couldn't "undo"
settings made by the allarch class. Since this no longer happens when
PACKAGE_ARCH != all, we can use the allarch class.

This patch also fixes up one case we need to preserve TRANSLATED_TARGET_ARCH
and ensures sstate only assumes allarch when PACKAGE_ARCH is "all".

(From OE-Core rev: 591fa7c1ab9e9ff75fdce602c77ecdeda3a255d9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-26 10:01:24 +00:00
..
allarch.bbclass allarch: Allow class to be included but overridden 2012-11-26 10:01:23 +00:00
archive-configured-source.bbclass archiver.bbclass: fix the coding style 2012-08-29 16:02:07 -07:00
archive-original-source.bbclass archiver.bbclass: fix the coding style 2012-08-29 16:02:07 -07:00
archive-patched-source.bbclass archiver.bbclass: fix the coding style 2012-08-29 16:02:07 -07:00
archiver.bbclass archiver.bbclass: DISTRO is not required variable so deal with it 2012-11-24 15:12:37 +00:00
autotools.bbclass autotools: set _FOR_BUILD variables here 2012-11-12 13:36:37 +00:00
autotools_stage.bbclass autotools: deprecate autotools_stage class 2010-04-27 17:11:28 +01:00
base.bbclass base.bbclass: Drop P and PN from FILESPATH 2012-11-26 10:01:23 +00:00
bin_package.bbclass bin_package.bbclass: binary package recipe class 2012-09-10 13:01:46 +01:00
binconfig.bbclass binconfig: add *-config files to the -dev package 2012-06-21 13:02:56 +01:00
blacklist.bbclass blacklist.bbclass: Refactor, use PNBLACKLIST[pn] 2012-05-11 17:50:49 +01:00
boot-directdisk.bbclass Convert tab indentation in python functions into four-space 2012-07-19 10:24:50 +01:00
bootimg.bbclass Convert tab indentation in python functions into four-space 2012-07-19 10:24:50 +01:00
bugzilla.bbclass meta/classes: Various python whitespace fixes 2012-08-21 12:15:30 +01:00
buildhistory.bbclass buildhistory.bbclass: Fix hostname print for 'No changes' case 2012-10-18 12:13:46 +01:00
buildstats.bbclass meta/classes: Various python whitespace fixes 2012-08-21 12:15:30 +01:00
ccache.bbclass ccache: Ensure CCACHE_DIR is cleaned by do_clean task 2012-07-10 14:25:38 +01:00
chrpath.bbclass chrpath.bbclass: Account for case when ORIGIN is in RPATH 2012-08-17 17:45:12 +01:00
cmake.bbclass cmake.bbclass: use DEPENDS_prepend instead of += for cmake-native 2012-11-18 16:42:09 +00:00
cml1.bbclass cml1.bbclass: Convert tab indentation in python functions into four-space 2012-09-27 15:21:53 +01:00
copyleft_compliance.bbclass copyleft_compliance.bbclass: remove the duplicated code 2012-08-29 16:02:08 -07:00
core-image.bbclass classes/core-image: improve comments listing IMAGE_FEATURES 2012-09-07 00:07:44 +01:00
cpan-base.bbclass cpan-base: Add more debug paths to FILES 2012-10-23 12:28:31 +01:00
cpan.bbclass cpan.bbclass: Fix CCFLAGS. 2012-07-17 10:53:56 +01:00
cpan_build.bbclass cpan_build: Unify directory layout for native and target builds 2012-10-18 12:13:13 +01:00
cross-canadian.bbclass classes: Drop do_package stamp-extra-info 2012-11-21 16:56:03 +00:00
cross.bbclass classes: Be consistent about sstate-inputdirs/outputdirs ending with '/' 2012-11-14 14:38:28 +00:00
crosssdk.bbclass classes: Drop do_package stamp-extra-info 2012-11-21 16:56:03 +00:00
debian.bbclass Convert tab indentation in python functions into four-space 2012-07-19 10:24:50 +01:00
deploy.bbclass bitbake/sstate: Implement a lookup function to speed up setscene processing 2010-10-05 22:26:33 +01:00
devshell.bbclass Rework how the devshell functions 2011-08-10 13:33:07 +01:00
distrodata.bbclass distrodata: Update distrocheck functions 2012-10-03 17:37:33 +01:00
distutils-base.bbclass Cleanup: fix PN == BPN cases 2012-10-02 11:40:50 +01:00
distutils-common-base.bbclass distutils-common-base: Create staticdev pacakge for static libraries 2012-11-21 16:56:00 +00:00
distutils-native-base.bbclass meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True) 2012-03-05 10:22:56 -08:00
distutils.bbclass distutils/steuptools: Fix files layout and unbreak builds 2012-08-24 17:25:15 +01:00
dummy.bbclass bootimg: Add grub-efi support 2011-11-30 22:18:08 +00:00
externalsrc.bbclass externalsrc.bbclass: Add class for handling external source trees 2012-03-01 15:56:50 +00:00
gconf.bbclass Convert tab indentation in python functions into four-space 2012-07-19 10:24:50 +01:00
gettext.bbclass gettext.bbclass: Ensure we don't overwrite other DEPENDS_GETTEXT values 2012-04-22 15:59:56 +01:00
gnome.bbclass classes/[gnome|gnomebase|mime]: enhance gnome related classes 2011-11-10 11:37:11 +00:00
gnomebase.bbclass gnomebase: depend on gnome-common-native 2012-11-02 16:18:31 +00:00
grub-efi.bbclass grub-efi: fix Nothing PROVIDES 'grub-efi-x86_64-native' 2012-08-25 14:47:00 +01:00
gsettings.bbclass gsettings.bbclass: fix whitespace 2012-09-05 22:25:23 +01:00
gtk-doc.bbclass gtk-doc.bbclass: Run gtkdocize in ${S} not ${B} 2012-10-18 12:13:47 +01:00
gtk-icon-cache.bbclass Convert tab indentation in python functions into four-space 2012-07-19 10:24:50 +01:00
gtk-immodules-cache.bbclass gtk-immodules-cache: Add initial class to update gtk inputmethod module cache 2012-10-24 12:50:45 +01:00
gzipnative.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
icecc.bbclass Revert "meta: replace os.popen with subprocess.Popen" 2012-05-30 14:21:29 +01:00
image-empty.bbclass classes/image*: Revamp creation of live images 2011-07-27 12:02:46 +01:00
image-live.bbclass image classes: use PN for depends, not IMAGE_BASE_NAME 2012-11-24 15:12:28 +00:00
image-mklibs.bbclass image-mklibs: pass correct libdir to mklibs 2012-08-07 12:56:34 +01:00
image-prelink.bbclass classes: Remove various bashisms 2011-11-10 11:51:18 +00:00
image-swab.bbclass qemugl: Remove since support for it was removed from qemu 2012-10-24 12:50:44 +01:00
image-vmdk.bbclass image classes: use PN for depends, not IMAGE_BASE_NAME 2012-11-24 15:12:28 +00:00
image.bbclass image.bbclass: Add missing dependency on do_package data 2012-11-20 15:31:49 +00:00
image_types.bbclass image_types: fix squashfs-lzma image creation 2012-09-19 18:16:16 +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
imagetest-dummy.bbclass test: add automation framework and sanitytest 2010-07-15 12:48:25 +01:00
imagetest-qemu.bbclass imagetest-qemu.bbclass: Fix whitespace issues 2012-08-01 09:10:41 +01:00
insane.bbclass insane.bbclass : Disable tests for unsafe references in binaries and scripts. 2012-11-24 15:12:29 +00:00
insserv.bbclass bitbake.conf/base.bbclass: Rename the staging directory to sysroots and the populate_staging task to populate_sysroot 2009-11-13 12:15:42 +00:00
kernel-arch.bbclass kernel-arch.bblass: add AArch64 support 2012-10-18 12:13:37 +01:00
kernel-yocto.bbclass kernel-yocto: clarify KMETA branch comments 2012-11-22 07:53:33 +00:00
kernel.bbclass kernel.bbclass: Do not chdir to /boot before running update-alternatives 2012-10-22 14:59:30 +01:00
lib_package.bbclass lib_package: use PACKAGE_BEFORE_PN 2012-07-04 17:40:33 +01:00
libc-common.bbclass libc-common: Ensure sysconfdir exists before installing files to it 2012-11-14 14:38:27 +00:00
libc-package.bbclass libc-package: Drop bogus replacement operation 2012-10-18 12:13:12 +01:00
license.bbclass license.bbclass: Collect LICENSE level packages 2012-11-25 21:36:42 +00:00
linux-kernel-base.bbclass kernel.bblass: remove get_kernelmajorversion 2011-07-01 23:34:18 +01:00
logging.bbclass logging: add bb* logging mechanisms for bash recipe functions 2011-04-28 10:45:41 +01:00
meta.bbclass Factor ipkg index and conf file creation into package_ipk.bbclass 2007-09-01 22:17:06 +00:00
metadata_scm.bbclass Convert tab indentation in python functions into four-space 2012-07-19 10:24:50 +01:00
mime.bbclass Convert tab indentation in python functions into four-space 2012-07-19 10:24:50 +01:00
mirrors.bbclass classes/mirrors: remove bogus gnutls mirror 2012-09-10 13:01:45 +01:00
module-base.bbclass module.bbclass: Move do_make_scripts() to module-base 2012-10-18 12:13:34 +01:00
module.bbclass module.bbclass: Move do_make_scripts() to module-base 2012-10-18 12:13:34 +01:00
module_strip.bbclass kernel/package.bbclass: Handle kernel module stripping centrally 2010-08-10 14:47:41 +01:00
multilib.bbclass multilib.bbclass: Drop populate_sdk_base exclusion 2012-11-21 16:55:56 +00:00
multilib_global.bbclass packagedata/multilib: Fix search patch for multilib builds 2012-09-26 15:02:25 +01:00
multilib_header.bbclass insane.bbclass and friends: Fix sanity checks and multlib headers for n32 2012-10-27 09:44:56 +01:00
native.bbclass classes: Drop do_package stamp-extra-info 2012-11-21 16:56:03 +00:00
nativesdk.bbclass classes: Drop do_package stamp-extra-info 2012-11-21 16:56:03 +00:00
oelint.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
own-mirrors.bbclass own-mirrors.bbclass: Bring own-mirrors.bbclass from oe commit 0ef914b250df46a41348479446214575668943fb 2011-03-15 01:19:26 +00:00
package.bbclass package.bbclass: Adapt debugsrc code to workdir layout changes 2012-11-21 09:10:02 +00:00
package_deb.bbclass classes: Update to use corrected bb.utils.explode_dep_versions2 API 2012-10-02 11:40:53 +01:00
package_ipk.bbclass opkg: Convert select-higher-version option to prefer-arch-to-version 2012-10-02 17:10:33 +01:00
package_rpm.bbclass package_rpm.bbclass: Fix an issue where complementary installs fail 2012-10-07 13:14:59 +01:00
package_tar.bbclass meta: replace os.system with subprocess.call 2012-05-30 12:04:45 +01:00
packagedata.bbclass Convert tab indentation in python functions into four-space 2012-07-19 10:24:50 +01:00
packagegroup.bbclass packagegroup/allarch: Convert to use allarch class 2012-11-26 10:01:24 +00:00
packageinfo.bbclass classes/packageinfo: use better method to check if package exists 2012-09-10 21:52:43 +01:00
patch.bbclass patch.bbclass: increase security 2012-09-14 17:12:43 +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
pkg_distribute.bbclass meta: Convert getVar/getVarFlag(xxx, 1) -> (xxx, True) 2012-03-05 10:22:56 -08:00
pkg_metainfo.bbclass Convert tab indentation in python functions into four-space 2012-07-19 10:24:50 +01: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 SDK_ARCH instead of SDKMACHINE 2012-11-12 13:36:39 +00:00
populate_sdk_deb.bbclass rootfs_deb: move the lock from WORKDIR to DEPLOY_DIR_DEB 2012-08-17 18:04:23 +01:00
populate_sdk_ipk.bbclass Rework installation of dev, dbg, doc, and locale packages 2012-07-29 10:16:14 +01:00
populate_sdk_rpm.bbclass populate_sdk_rpm.bbclass: Depend do_populate_sdk task on createrepo-native 2012-08-06 15:18:46 +01:00
prexport.bbclass prexport.bbclass: Fix typo in warning: "AUROPR" -> "AUTOPR". 2012-07-04 17:40:38 +01:00
primport.bbclass prservice: Added sanity check for prservice connection. 2012-03-08 12:16:29 -08:00
prserv.bbclass meta/PRService: Added export/import fuctions. 2012-01-11 10:37:43 +00:00
python-dir.bbclass python-dir: change PYTHON_BASEVERSION to 2.7 2011-10-31 22:03:22 +00:00
pythonnative.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
qemu.bbclass qemu.bbclass: Map the qemu binary name for powerpc64 2012-07-26 14:40:46 +01:00
qmake2.bbclass qt4: Enable accessibility and sm option for LSB. 2011-01-20 21:37:01 +00:00
qmake_base.bbclass classes/qmake_base: support linux-gnuspe/linux-uclibcspe TARGET_OS 2012-09-05 17:32:14 +01:00
qt4e.bbclass qt4: Avoid circular dependencies with multilib 2012-10-03 10:02:21 +01:00
qt4x11.bbclass qt4: Avoid circular dependencies with multilib 2012-10-03 10:02:21 +01:00
recipe_sanity.bbclass recipe_sanity: Don't bother checking LICENSE 2012-10-18 12:13:39 +01:00
relocatable.bbclass relocatable.bbclass: split it up, to reuse code 2012-08-02 15:28:39 +01:00
rm_work.bbclass Various typoes fixed, all comments or output strings. 2012-03-26 12:13:05 +01:00
rootfs_deb.bbclass rootfs_deb: move the lock from WORKDIR to DEPLOY_DIR_DEB 2012-08-17 18:04:23 +01:00
rootfs_ipk.bbclass rootfs_ipk.bbclass: Some extra spaces / tabs were removed / formated 2012-10-23 12:28:33 +01:00
rootfs_rpm.bbclass rootfs_rpm.bbclass: maybe no rpm postinst script 2012-10-24 12:50:46 +01:00
sanity.bbclass bitbake.conf/sanity: Separate versions and PN stamp components into separate directories for WORKDIR and STAMP 2012-11-20 15:31:49 +00:00
scons.bbclass classes: scons: add EXTRA_OESCONS 2012-03-26 23:29:44 +01:00
sdl.bbclass classes/sdl: remove Opie-specific desktop file/packaging 2012-02-21 17:00:46 +00:00
setuptools.bbclass distutils/steuptools: Fix files layout and unbreak builds 2012-08-24 17:25:15 +01:00
sip.bbclass sip.bbclass: fix sip-native dependency 2012-08-02 15:28:37 +01:00
siteconfig.bbclass siteconfig: Clear cache before rebuilding 2012-09-28 15:19:42 +01:00
siteinfo.bbclass insane.bbclass and friends: Fix sanity checks and multlib headers for n32 2012-10-27 09:44:56 +01:00
sstate.bbclass packagegroup/allarch: Convert to use allarch class 2012-11-26 10:01:24 +00:00
staging.bbclass staging.bbclass: Might as well drop the applications, fonts and pixmap directories from ${datadir} 2012-08-29 16:02:07 -07:00
syslinux.bbclass Convert tab indentation in python functions into four-space 2012-07-19 10:24:50 +01:00
task.bbclass Rename task to packagegroup 2012-09-04 12:52:55 +01:00
terminal.bbclass terminal: Ensure existing environment exports are preserved in devshell 2012-11-02 11:27:54 +00:00
tinderclient.bbclass meta/classes: Various python whitespace fixes 2012-08-21 12:15:30 +01:00
toolchain-scripts.bbclass toolchain-scripts.bbclass: Export M4 2012-10-05 14:49:54 +01:00
typecheck.bbclass typecheck.bbclass: update per current variable typing code 2012-05-11 17:50:50 +01:00
update-alternatives.bbclass meta/classes: Various python whitespace fixes 2012-08-21 12:15:30 +01:00
update-rc.d.bbclass classes: replace virtclass-native(sdk) with class-native(sdk) 2012-11-02 16:18:27 +00:00
useradd.bbclass classes: replace virtclass-native(sdk) with class-native(sdk) 2012-11-02 16:18:27 +00:00
utility-tasks.bbclass utility-tasks: Set T to alternate location during do_clean 2012-08-18 16:23:59 +01:00
utils.bbclass utils: Optimise looping in base_set_filespath 2012-11-21 16:56:03 +00:00