generic-poky/meta/classes
Bruce Ashfield 0e7d9956a0 yocto-kernel: factor common routes, update to 2.6.37 and branch renaming
In order to extend and create more kernel recipes based on the
supported yocto kernel common routines need to be placed in
re-usable blocks.

To accomplish this meta/recipes-kernel/linux/linux-yocto_git.bb
is broken into three parts:

 - meta/classes/kernel-yocto.bbclass: contains common routines
   for checking out and configuring a yocto kernel git repository.
   This should be inherited by recipes that need this functionality.

 - meta/recipes-kernel/linux/linux-yocto.inc: Contains the machine
   mappings, compatibility, build directives and common task
   definitions for a yocto kernel based recipe. This inherits
   kernel-yocto, and is the typical point of entry for other recipes.

 - meta/recipes-kernel/linux/linuux-tools.inc: tasks and function definitions
   for kernel recipes that want to build/export perf

It also updates the linux-yocto recipe to default to 2.6.37.

As part of the update to 2.6.37 the branch naming and conventions
have been modified to show inheritance, and be more generic.

For example:

  master
  meta
  yocto/base
  yocto/standard/arm_versatile_926ejs
  yocto/standard/base
  yocto/standard/beagleboard
  yocto/standard/common_pc/atom-pc
  yocto/standard/common_pc/base
  yocto/standard/common_pc_64
  yocto/standard/fsl-mpc8315e-rdb
  yocto/standard/intel_atom_z530
  yocto/standard/intel_core_qm57_pch
  yocto/standard/mti_malta32_be
  yocto/standard/preempt_rt/base
  yocto/standard/preempt_rt/common_pc
  yocto/standard/preempt_rt/common_pc_64
  yocto/standard/preempt_rt/intel_atom_z530
  yocto/standard/preempt_rt/intel_core_qm57_pch
  yocto/standard/qemu_ppc32
  yocto/standard/routerstationpro

In this structure:

  master: tracks the mainline kernel
  meta: meta information for the BSPs and kernel features
  yocto/base: baseline kernel branch
  yocto/standard/base: 'standard' kernel, contains features
                        and configs for all BSPs
  yocto/standard/<machine>: represents a BSP with specific
                            features or configurations

The tools, tree and libc-headers have all been updated to
deal with this new structure. Also in addition to dealing with
the new structure, they continue to work with the existing
tree and will adapt at runtime to the differences.

The linux-yocto-stable_git.bb recipe continues to build the
2.6.34 based tree,and linux-yocto_git.bb builds 2.6.37. As
boards are enabled for the new kernel they will move from
-stable to the development kernel. As of now, only the
emulated targets have moved to 2.6.37-rcX

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2010-12-10 22:01:36 -08:00
..
autotools.bbclass autotools: enable siteconfig by default 2010-09-10 12:57:16 +01:00
autotools_stage.bbclass autotools: deprecate autotools_stage class 2010-04-27 17:11:28 +01:00
base.bbclass base.bbclass/poky.conf: Fix INCOMPATIBLE_LICENSE Whitelist checking 2010-11-14 16:50:18 -08:00
base_srpm.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
binconfig.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
boot-directdisk.bbclass bootimg/boot-directdisk.bbclass: Update afer syslinux changes, fix mbr.bin location and fix dependencies 2010-03-25 14:09:06 +00:00
bootimg.bbclass bootimg.bbclass: Fix dependency name 2010-03-25 17:09:15 +00:00
ccache.inc classes: Standardise whitespace in anonymous python methods and factor out functions for more efficent use by bitbake (as also patched in OE) 2006-11-20 09:16:34 +00:00
ccdv.bbclass Fix STAGING_BINDIR for multimachine use by spliting into STAGING_BINDIR and STAGING_BINDIR_NATIVE and adding both to PATH 2006-11-25 10:01:30 +00:00
cmake.bbclass cmake.bbclass: sync from openembedded 2010-08-31 17:19:53 +01:00
cml1.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
cpan-base.bbclass libxml-parser-perl: Fix bug of empty package of libxml-parser-perl. 2010-12-10 23:13:00 +00:00
cpan.bbclass Finally deprecate all legacy do_stage functions. This changes the existing warning 2010-07-22 11:44:28 +01:00
cpan_build.bbclass Finally deprecate all legacy do_stage functions. This changes the existing warning 2010-07-22 11:44:28 +01:00
cross-canadian.bbclass cross-canadian: Update after PN changes to include TARGET_ARCH 2010-12-10 16:57:21 +00:00
cross.bbclass bitbake.conf/cross.bbclass: Inject MULTIMACH_TARGET_SYS into the toolchain paths to prevent multimachine cross contamination 2010-07-23 18:04:59 +01:00
crosssdk.bbclass crosssdk.bbclass: Ensure target layout variables are set correctly 2010-07-15 10:14:27 +01:00
debian.bbclass debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixes 2009-11-16 10:52:35 +00:00
deploy.bbclass bitbake/sstate: Implement a lookup function to speed up setscene processing 2010-10-05 22:26:33 +01:00
devshell.bbclass devshell: Clean up devshell code so this task doesn't polute the global namespace 2010-12-09 13:16:32 +00:00
distrodata.bbclass utility-tasks.bbclass: Move distro related tasks to distrodata.bbclass 2010-11-22 10:38:15 -08:00
distutils-base.bbclass distutils: Sync with OE.dev 2009-12-05 23:18:02 +00:00
distutils-common-base.bbclass distutils: Sync with OE.dev 2009-12-05 23:18:02 +00:00
distutils-native-base.bbclass distutils: Sync with OE.dev 2009-12-05 23:18:02 +00:00
distutils.bbclass distutils: Sync with OE.dev 2009-12-05 23:18:02 +00:00
flow-lossage.bbclass classes: Standardise whitespace in anonymous python methods and factor out functions for more efficent use by bitbake (as also patched in OE) 2006-11-20 09:16:34 +00:00
gconf.bbclass debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixes 2009-11-16 10:52:35 +00:00
gettext.bbclass gettext.bbclass: Set the gettext dependencies correctly for target, cross and native packages 2010-01-05 21:10:47 +00:00
gnome.bbclass gnome.bbclass: Remove autotools_stage reference 2010-11-02 10:15:27 +00:00
gtk-doc.bbclass classes: Add gtk-doc.bbclass 2008-05-15 14:11:13 +00:00
gtk-icon-cache.bbclass debian/kernel/gconf/gtk-icon-cache: PKGDESK/PKG fixes 2009-11-16 10:52:35 +00:00
icecc.bbclass Install cross-packages into the native sysroot 2010-04-27 18:29:57 +01:00
image-prelink.bbclass prelink: Enable image wide prelinking 2010-08-12 15:54:39 +01:00
image-swab.bbclass scripts/poky-env-internal/image-swab.bbclass: Remove OEROOT references 2010-11-28 12:41:09 +00:00
image.bbclass image.bbclass/initscripts: Make /etc/timestamp usage consistent. 2010-11-14 21:08:22 -08:00
imagetest-dummy.bbclass test: add automation framework and sanitytest 2010-07-15 12:48:25 +01:00
imagetest-qemu.bbclass imagetest-qemu: Allow the task to run after any rootfs is created and also standalone 2010-12-07 12:31:09 +00:00
insane.bbclass insane.bbclass: fix qa_configure and qa_staging 2010-11-14 21:08:22 -08: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: x86-64 is no longer a valid architecture, map it to x86 2010-08-13 17:16:19 +01:00
kernel-yocto.bbclass yocto-kernel: factor common routes, update to 2.6.37 and branch renaming 2010-12-10 22:01:36 -08:00
kernel.bbclass kernel: prefer the kernel produced uImage 2010-11-10 21:22:27 +08:00
lib_package.bbclass lib_package.bbclass: Sync with OE.dev to remove hardcoded layout assumption 2009-11-16 10:53:16 +00:00
libc-package.bbclass libc-package.bbclass, eglibc, glibc: enable locales generation using cross-localedef 2010-10-07 22:53:28 +01:00
linux-kernel-base.bbclass linux-kernel-base.bbclass: merge version detection updates from upstream 2010-05-20 14:14:22 +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 metadata_scm: Ensure that if an SCM isn't present, we dont print a revision of 'fatal:' as it looks bad 2010-10-21 23:26:40 +01:00
mirrors.bbclass base.bbclass: Split up as per the patch in OE.dev by Chris Larson making code more readable and modularised 2010-03-19 23:12:06 +00:00
module-base.bbclass module*.bbclass: set AR to KERNEL_AR during building of kernel modules 2008-01-08 14:40:51 +00:00
module.bbclass module.bbclass: Fix external module version dependencies 2008-05-21 09:35:53 +00:00
module_strip.bbclass kernel/package.bbclass: Handle kernel module stripping centrally 2010-08-10 14:47:41 +01:00
mozilla.bbclass mozilla.bbclass: Fix pkgconfig usage for pkgconfig sysroot 2009-01-23 15:51:44 +00:00
native.bbclass native.bbclass: Mark various package functions as noexec since they don't do any work 2010-11-28 13:54:32 -08:00
nativesdk.bbclass nativesdk.bbckass: Fix toolchain path 2010-07-24 23:07:07 +01:00
oelint.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
openmoko-base.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
openmoko-panel-plugin.bbclass openmoko-panel-gsm: add openmoko-panel-gsm, om-panel-plugin.bbclass, and srvrev 2008-08-08 14:43:09 +00:00
openmoko.bbclass openmoko: added classes needed by openmoko-libs 2007-07-09 14:21:05 +00:00
openmoko2.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
package.bbclass package.bbclass: make sure 'sysroots' created before lockfile 2010-11-07 20:40:06 +00:00
package_deb.bbclass package_deb: The packaging command itself is run under fakeroot so these lines are totally unneeded 2010-10-22 23:05:45 +01:00
package_ipk.bbclass cross-canadian: Update after PN changes to include TARGET_ARCH 2010-12-10 16:57:21 +00:00
package_rpm.bbclass classes: Only enable fakeroot on setscene tasks with packaging 2010-10-22 16:34:06 +01:00
package_tar.bbclass package_*.bbclass: Always run these tasks under fakeroot 2010-08-19 22:36:26 +01:00
packagedata.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
packagehistory.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
patch.bbclass patch.bbclass: Merge patch enhancements from OE by Chris Larson 2010-06-01 15:17:12 +01:00
patcher.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
pkg_distribute.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
pkg_metainfo.bbclass Rename /openembedded/ -> /meta/ 2006-07-21 10:10:31 +00:00
pkgconfig.bbclass pkgconfig.bbclass: No longer default to pkgconfig_stage code (breaks libdrm) 2009-07-07 15:13:56 +01:00
poky-autobuild-notifier.bbclass poky-autobuild-notifier.bbclass: Remove unneeded recipients 2009-06-15 22:51:42 +01:00
poky-image.bbclass task-poky-qt: create a task and add to poky-image-sdk 2010-09-03 18:31:52 +01:00
poky.bbclass poky.bbclass: Add second fall-back sources mirror 2010-06-11 10:19:03 +01:00
qemu.bbclass eglibc: import eglibc_2.12 recipe from OE 2010-08-13 23:37:30 +01:00
qmake2.bbclass qmake2.bbclass: update for QT4 2010-08-27 13:29:51 +01:00
qmake_base.bbclass Import files from OE to build WebKit (patch to link icu required) 2007-12-06 10:23:27 +00:00
relocatable.bbclass relocatable.bbclass: Cover libexecdir 2010-08-12 14:41:30 +01:00
rm_work.bbclass rm_work: Set BB_SCHEDULER as done in OE.dev to ensure disk space is freed sooner rather than at the end of the build 2010-11-28 13:54:31 -08:00
rootfs_deb.bbclass rootfs: Update ROOTFS_PKGMANAGE to include atp/zypper 2010-10-11 12:18:02 +01:00
rootfs_ipk.bbclass opkg: finalize the change to var directory 2010-08-26 08:54:55 +01:00
rootfs_rpm.bbclass rootfs: Update ROOTFS_PKGMANAGE to include atp/zypper 2010-10-11 12:18:02 +01:00
sanity.bbclass sanity.bbclass: Warn people when TERMCMD is set to a non-installed program 2010-12-06 22:02:28 +00:00
scons.bbclass classes: Sync various classes with OE for various bugfixes 2007-08-08 20:41:55 +00:00
sdl.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
singlemachine.bbclass Merge multimachine class into bitbake.conf and create singlemachine.bbclass as a backwards compatibility option 2008-07-17 20:49:48 +00:00
sip.bbclass sip.bbclass: Sync with OE 2007-09-02 11:07:13 +00:00
siteconfig.bbclass siteconfig: Fix mkdir 2010-10-01 16:32:33 +01:00
siteinfo.bbclass siteinfo: add SITECONFIG_SYSROOTCACHE definition in place of hard-coded path 2010-09-10 12:56:56 +01:00
sourcepkg.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
src_distribute.bbclass src_distribute: Set EXPORT_FUNCTIONS correctly 2010-11-01 10:48:43 +00:00
src_distribute_local.bbclass classes: Sync various classes with OE for various bugfixes 2007-08-08 20:41:55 +00:00
srec.bbclass classes: Sync with OE - mainly quoting fixes or other minor updates 2006-11-20 15:19:39 +00:00
sstate.bbclass sstate.bbclass: Remove the temp sstate-build-* directories in WORKDIR 2010-11-14 21:08:23 -08:00
staging.bbclass Drop variables that do nothing 2010-12-10 22:51:19 +00:00
syslinux.bbclass syslinux.bbclass: Clean up boot menu title 2008-10-17 08:39:34 +00:00
task.bbclass Factor ipkg index and conf file creation into package_ipk.bbclass 2007-09-01 22:17:06 +00:00
tinderclient.bbclass classes: Remove and sanitise import statements 2009-11-13 12:15:28 +00:00
tmake.bbclass Remove hardcoded staging layout assumptions 2007-11-12 11:10:08 +00:00
toolchain-scripts.bbclass Revert "meta-toolchain: Update the way ld.so.cache is handled" 2010-10-14 11:46:39 +01:00
update-alternatives.bbclass update-alternatives.bbclass: don't expand var when appending do_install 2010-11-21 18:17:24 +00:00
update-rc.d.bbclass update-rc.d.bbclass: adjust order on tweaking postinst 2010-08-17 22:57:33 +01:00
utility-tasks.bbclass utility-tasks: Switch listtasks to use bb.plain() for printing output 2010-11-28 13:54:31 -08:00
utils.bbclass base/utils.bbclass: Sync up overlapping functions 2010-11-02 11:50:50 +00:00
xfce.bbclass Drop AUTOTOOLS_STAGE_PKGCONFIG variable as its not used anywhere 2010-12-05 20:40:03 +00:00
xlibs.bbclass Finally deprecate all legacy do_stage functions. This changes the existing warning 2010-07-22 11:44:28 +01:00