summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel/linux/linux-tools.inc
AgeCommit message (Collapse)AuthorFiles
2012-06-21recipes-kernel: remove linux-tools.incBruce Ashfield1
perf has been moved to a standalone package, making linux-tools.inc unecessary. It can now be removed and recipes that included it updated. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-26More quoting fixesMartin Jansa1
* We have various variables which are either not quoted at all or are half quoted. This patch fixes the bad exmaples so everything is consistent. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-01-26linux-tools: don't build perf when GPLv3 in INCOMPATIBLE_LICENSEJoshua Lock1
As binutils is required by perf to build and is GPLv3 licensed adding GPLv3 to INCOMPATIBLE_LICENSE will cause linux-yocto to be skipped. Long term we should look at moving perf to a separate recipe but as a short term solution this patch will ensure that when GPLv3 is in INCOMPATIBLE_LICENSE perf is not built and it's dependencies are not added to build. Fixes [YOCTO #1879] Signed-off-by: Joshua Lock <josh@linux.intel.com>
2012-01-04linux-tools: add binutils to perf DEPENDSJoshua Lock1
We have witnessed non-deterministic failures of perf for some platforms whilst looking for bfd.h, a header provided by binutils. Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-27linux-yocto: revise the dependency for multilibYu Ke1
Signed-off-by: Yu Ke <ke.yu@intel.com>
2011-06-30Add umask task controlMark Hatle1
Bitbake now allows the umask to be specified per task. The following tasks will have a umask of 022 set by default: do_configure do_compile do_install do_package do_populate_sysroot do_rootfs do_configure and do_compile need a umask of 022 set because -many- recipes directly copy generated files out of recipe's build directory. Instead of fixing each existing and future recipe, it was shown to be much easier to just set the umask. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-06-23perf: Fix linux-tools to ensure perf is installed under "fakeroot"Mark Hatle1
If perf isn't installed under "fakeroot" (pseudo) control, all of the files are given the build user's uid/gid. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2011-04-28linux-tools.inc: Dummify do_compile_perf and do_install_perf for uclibcKhem Raj1
Perf wants elfutils and elfutils on uclibc does not work due to its usage of obstack_printf functionality missing from uclibc. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-04-22linux-tools.inc: turn off newt and dwarf for perfTom Zanussi1
Turn these off for now to avoid the host infection issues for perf. Fixes yocto [BUGID #994]. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2011-03-29base/kernel/image.bbclass: Clean up do_deploy ordering to ensure it just ↵Richard Purdie1
happens before a build completes Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2010-12-30linux-tools.inc: Userspace tools should be compiled with the userspace ↵Richard Purdie1
compiler, not the kernel one Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-12-10yocto-kernel: factor common routes, update to 2.6.37 and branch renamingBruce Ashfield1
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>