summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
Commit message (Collapse)AuthorAgeFilesLines
* lttng-control: Fix SRC_URL to point at lttng.orgbernard-5.0-alphaSaul Wold2011-02-111-1/+1
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* linux-dtb.inc: Fix package name to match PACKAGESRichard Purdie2011-02-111-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lttng-ust: fix ppc build by removing ppc specific time reading functionDexuan Cui2011-02-102-2/+89
| | | | | | | Here I introduced a patch from lttng mailing list to fix ppc build. See the patch for more details. Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* linux.inc: don't overwrite an existing uImageDarren Hart2011-02-091-1/+1
| | | | | | If a valid uImage exists, don't overwrite it with Image. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* linux/u-boot: Update LICENSE fields to specify GPL versionRichard Purdie2011-02-091-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux: add LIC_FILES_CHKSUMIlya Yanok2011-02-091-0/+2
| | | | | | | | Linux is licensed under GPL so add appropriate LIC_FILES_CHKSUM to linux.inc file. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* dtc: add LIC_FILES_CHKSUM to dtc-nativeBruce Ashfield2011-02-091-0/+3
| | | | | | | | | The new license processing rules error if dtc-native itself doesn't have license information. Previously only the .inc files contained this information, so we make a copy and leave the existing license info to be removed pending further review. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux: factor dts/dtc/dtb handling into a specific includeBruce Ashfield2011-02-093-26/+29
| | | | | | | | | | | | | | | | Fixes [BUGID #610] The powerpc linux-yocto kernels were not creating dtb images in the deploy directories. This was due to two problems: - the dtb generation rules were not being configured - the boards were not specifying a device tree in their config This change addresses the first point by factoring out the dtb generation routines into a new include that can be used by multiple recipes. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: streamline BSP bootstrappingBruce Ashfield2011-02-093-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In order to build BSPs that were not already integrated into the upstream linux yocto kernel AND keep the git fetcher happy, some fairly complex anonymous python sections were required. These sections cause problems with variable expansion and SRCREV processing. With the updated git fetcher code, we can streamline the BSP boostrapping process and drop 99% of the anonymous python code. This commit has the following changes to support BSP boot strapping and simplication for existing BSPs. - KMETA is set per-recipe rather than in python code - undefined machines are no longer used, but instead common branch names are set per-recipe - fallback machine SRCREVs are present in the default revisions file - A new variable YOCTO_KERNEL_EXTERNAL_BRANCH should be set in the local.conf for new BSPs instead of being programatically determined in the anonymous python. - No more explicity KMACHINE variable expansion and manipulation, since the tools and build phases no longer require it due to the per-recipe fallbacks. Integrated/merged BSPs are unaffected by the changes and have been regression tested. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> foo Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto-stable: Fix meta branch nameRichard Purdie2011-02-081-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* beagleboard: set kernel provider to linux-yocto (2.6.37)Darren Hart2011-02-031-1/+1
| | | | | | | | | Support has been added for basic Beagleboard xM functionality, including networking, to the linux-yocto kernel repository. Tested on the Beagleboard xM. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: BSP updatesBruce Ashfield2011-02-031-1/+1
| | | | | | | | | Updating for the sugarbay and beagleboard BSPs. To make the sugbay inhert common-pc-64 generic config/changes/fixes it has been branched in the kernel as yocto/standard/common-pc-64/sugarbar, as a result, we'll bump the common-pc-64 to be yocto/standard/common-pc-64/base. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto-stable: Update SRC_URI after fetcher changesRichard Purdie2011-02-021-3/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/linux-libc-headers-yocto: Adjust to git fetcher improvementsRichard Purdie2011-02-022-4/+2
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto: export kernel configuration audit to the consoleBruce Ashfield2011-02-012-1/+1
| | | | | | | | | | | Fixes [BUGID #692] Previously the information dumped by the kernel configuration audit scripts was only placed in log files. This isn't as useful as it could be, since they are rarely checked. This change takes the output from kconf_check and explicitly displays it to the user. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux_2.6.33.2: Add LIC_FILES_CHKSUMSaul Wold2011-01-281-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* lttng-viewer: upgrade from 0.12.35 to 0.12.36Dexuan Cui2011-01-281-3/+3
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* lttng-ust: upgrade from 0.8 to 0.11Dexuan Cui2011-01-281-6/+3
| | | | Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
* kern-tools: update to the new repositoryBruce Ashfield2011-01-251-3/+3
| | | | | | | | | | As the first of several changes to the kern-tools coupled to the branch management in the yocto kernels the repository is being renamed to it proper name. This change switches us to that newly created repo. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* linux-yocto: allow multiple BSPs per branchBruce Ashfield2011-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | By default the linux-yocto recipes operate on the current branch and use it as a trigger to locate the description of a board. This model works well when using the git repo outside of a build system since the commands can be simply invoked and will do something useful. However, it does mean that you can't have two BSPs that differ only by configuration, building out of a single branch in the repository. This means that you must have many branches for very similar BSPs. This model is still preferred, but having the choice of branching strategies is better. With this change we can have multiple BSPs using a single branch with the preferred description being hinted from the build system by passing the $machine value to updateme/configme. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Drop remaining bootcdx86 references, the -live images for qemux86 and ↵Richard Purdie2011-01-247-5571/+1
| | | | | | atom-pc replace this Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* blktrace: fix build issue with gcc dso linking changeNitin A Kamble2011-01-202-2/+29
| | | | | | | | | All the libraries needs to be specified explicitely with the new gcc dso linking change patch. This was causing build errors for this recipe. Specifying the libXrender library explicitely for linking to work without errors. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* oprofileui: fix the build failure after gcc dso changeNitin A Kamble2011-01-202-2/+28
| | | | | | | | With a change in gcc all the libraries needs to be specified explicitely for linking. That breaks compile for this package as libm is not explicitely specified. This commit fixes that linking issue. Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
* linux-igep: Add required LIC_FILES_CHKSUMGary Thomas2011-01-201-0/+1
| | | | | | [sgw@linux.intel.com: added linux-igep to synopsis] Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* linux-dummy: add license and LIC_FILES_CHKSUMIlya Yanok2011-01-202-1/+343
| | | | | | | | This package fails to build because of missing LIC_FILES_CHKSUM option. This patch adds GPL and LIC_FILES_CHKSUM to this recipe. Signed-off-by: Ilya Yanok <yanok@emcraft.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* systemtap: new packageTom Zanussi2011-01-201-0/+28
| | | | | | | Add systemtap, a general-purpose script-directed dynamic tracing and performance analysis tool for Linux. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* linux-yocto: hard-code NO_LIBPERL/NO_LIBPYTHONTom Zanussi2011-01-142-2/+52
| | | | | | | | | | | | | | | | | | ExtUtils::Embed ccopts is getting the host's -I/usr/local/include and using it to compile perf, which results in a compilation error that started appearing just recently. This turns the code that makes use of ExtUtils::Embed off and simply hard-codes NO_LIBPERL. It does the same for LIBPYTHON while we're at it, since it probably suffers from a similar underlying problem and just by chance hasn't broken anything yet. This will be re-enabled after I familiarize myself with the perf recipe and am able to create a proper fix. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* linux-yocto: add routerstation pro and mpc8315e-rdb supportBruce Ashfield2011-01-121-1/+1
| | | | | | | | | The routerstation pro and mpc8315e-rdb have been validated on 2.6.37 so we can switch their preference to linux-yocto and update the machine compatibility to add them to the support list. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* trace-cmd: Bump SRCREV and recipe PV and PR values.Darren Hart2011-01-122-5/+5
| | | | | | | | | | | Upgrade to 6c696cec3f264a9399241b6e648f58bc97117d49 which includes fixes to the Makefile to allow for user override of CC and AR via the environment as well as python SWIG wrapper fixes. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Bruce Ashfield <bruce.ashfield@windriver.com> CC: Tom Zanussi <tom.zanussi@intel.com>
* recpies: use SRCPV instead of SRCREV for PVYu Ke2011-01-065-5/+5
| | | | | | | | SRCPV is intended being used by PV, some recipes still use SRCREV for PV, which is not correct. This patch fix all the misusage. Signed-off-by: Yu Ke <ke.yu@intel.com>
* modutils: Extend gcc4 patch for obj_ppc.cSaul Wold2011-01-061-16/+41
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* kernelshark: add ftrace gui viewerDarren Hart2011-01-061-0/+21
| | | | | | | | | | | | | The trace-cmd source includes a graphical trace viewer, but we don't want to make the trace-cmd recipe depend on gtk+. This patch adds a second recipe in the meta/recipes-kernel/trace-cmd directory which uses the trace-cmd SRCREV and RDEPENDS on trace-cmd to ensure compatibility. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com> CC: Richard Purdie <richard.purdie@linuxfoundation.org> CC: Saul Wold <sgw@linux.intel.com>
* trace-cmd: license file updatesDarren Hart2011-01-061-2/+3
| | | | Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* trace-cmd: fix cross-compilationDarren Hart2011-01-061-7/+5
| | | | | | | | | | | | | | The trace-cmd Makefile forces certain variables, such as CC and AR. It was using the host gcc and loader, fix it to use the poky-built cross-compiler and linker. inherit pkgconfig to ensure we don't use the host pkg-config. Remove unecessary variables from the oemake commands, such as ARCH and LD which aren't used by the Makefile. Signed-off-by: Darren Hart <dvhart@linux.intel.com> CC: Tom Zanussi <tom.zanussi@intel.com>
* dtc: add patch to remove -Os for PPCSaul Wold2011-01-023-1/+18
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* lttng-ust: add COMPATIBLE_HOST to prevent ARM/MIPS world buildSaul Wold2011-01-021-0/+7
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* linux-tools.inc: Userspace tools should be compiled with the userspace ↵Richard Purdie2010-12-301-2/+2
| | | | | | compiler, not the kernel one Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* RDEPENDS, RRECOMMENDS -> RDPEPENDS_${PN}, RRECOMMENDS_${PN}Koen Kooi2010-12-303-9/+9
| | | | | | | For these recipes the dependencies listed in RDEPENDS and RRECOMMENDS only apply to ${PN} Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* blktrace: Fix parallel make issueTom Zanussi2010-12-302-3/+3
| | | | | | | | | | | | | | | Fixes [BUGID #581] When PARALLEL_MAKE is used with the current blktrace Makefile, the btreplay and btrecord object files can end up being built multiple times in parallel, which occasionally causes the linker to pick up the object files in intermediate and seemingly corrupt states, and causes the spurious link errors in the bug report. This fix restricts the recursive btreplay invocations to building only btreplay or btrecord as appropriate, not both. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
* linux-yocto: Fix branch name on behalf of Bruce after recent renamingRichard Purdie2010-12-231-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* linux-yocto: Add LIC_FILES_CHKSUMSaul Wold2010-12-231-0/+2
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* qemu: match kernel headers to preferred kernelBruce Ashfield2010-12-231-6/+4
| | | | | | | | | As the yocto-kernel advances, the libc headers must also advance. This commit fixes the SRC_URI and SRCPV to work properly with the latest linux-yocto kernel. It also switches the qemu* targets to prefer this libc recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto-stable: fix qemux86 branch nameBruce Ashfield2010-12-231-1/+1
| | | | | | | | | | | | The mapping of qemu to kernel branch name for the stable kernel had a small leak from the devel kernel. Nothing broke since qemux86 prefers the 2.6.37 kernel and this was hidden. This fixes the mapping for anyone who does want a 2.6.34 based qemux86 kernel. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* linux-yocto: remove or adjust to _ in branch namesBruce Ashfield2010-12-212-12/+16
| | | | | | | | | | | | | | | | | | | | | The existing 2.6.34 kernel tree uses _ where poky typically uses -. This is a historical artifact, since working with gnu Make and shells means avoiding - is wise. The opposite is true in Yocto. To avoid using the _ reserved character wherever possible we can simply remove it from the branch names in the new 2.6.37 kernel, but to keep the content stable in the 0.9 2.6.34 kernel, we map _ to - for the purposes of packaging. To further faciliate this switch, the branch names no longer need to be shortened in the KMACHINE mappings, but can be fully specified and the tools/processing adapt as required. This gives us the flexibility to map multiple boards to a single branch for building. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* recipes-kernel: Update SUMMARY and DESCRIPTIONMark Hatle2010-12-1611-0/+11
| | | | | | Add missing SUMMARY and updated DESCRIPTION fields if necessary Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* linux-yocto: fix machine compatibilityBruce Ashfield2010-12-133-2/+3
| | | | | | | | | | | | During the last phase of the recipe factoring, the board compatibility lists ended up in the wrong place, which meant we had an incomplete list of boards, and the same set of boards for both kernels (stable and devel). To fix this, I've yanked the compatibility to the recipes themselves and updated the emenlow to have a -stable bbappend. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* update-modules/udev-extraconf: Fix license checksum handlingRichard Purdie2010-12-101-3/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* linux-libc-headers: Correct license checksumDarren Hart2010-12-101-1/+1
| | | | | | | Correct a typo in LIC_FILES_CHKSUM for linux-libc-headers as well as update the md5sum. Signed-off-by: Darren Hart <dvhart@linux.intel.com>
* linux-libc-headers-yocto: use common linux-yocto routinesBruce Ashfield2010-12-101-12/+9
| | | | | | | | | | | Modify linux-libc-headers-yocto to use the common linux-yocto routines, so headers exported to userspace will track the branches in the yocto kernel git repository. This commit also switches supported boards to prefer the yocto libc headers. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* yocto-kernel: factor common routes, update to 2.6.37 and branch renamingBruce Ashfield2010-12-105-207/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>