summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
AgeCommit message (Collapse)Author
2013-01-10linux-libc-headers: fix headers install in long path name environmentsBruce Ashfield
If a build is started in a deep directory structure, or in a path with long directory names the installation of linux-libc-headers will fail with: | make[2]: execvp: /bin/sh: Argument list too long | make[2]: *** >From within the kernel Makefiles themselves. The solution is to patch the kernel build rules with the following change: [ scripts/Makefile.headersinst: install headers from scratch file If headers_install is executed from a deep/long directory structure, the shell's maximum argument length can be execeeded, which breaks the operation with: | make[2]: execvp: /bin/sh: Argument list too long | make[2]: *** By dumping the input files to a scratch file and using xargs to read the input list from the scratch file, we can avoid blowing out the maximum argument size and install headers in a long path name environment. ] Until this change, or a similar one, is merged into the mainline kernel, this change should be applied to any 3.7 or greater libc-headers build. Upstream-status: Pending Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-09lttng-2.0: components updated to version 2.1.0Bogdan Marinescu
lttng2-ust, lttng-modules and lttng-tools were updated to version 2.1.0. Since these should be changed together, the changes are grouped into a single patch. The text for the lttng-tools LICENSE file has these lines changed (according to the license text, these shouldn't impact the actual licensing terms of the package): ================================================================= -) include/lttng/* -) src/lib/lttng-ctl/* We have some tests LGPL but should not impact anything even if we change them in the future to GPL. ================================================================= The text for the lttng-modules LICENSE files contains a minor change in the MIT section (a reference to the mit-license.txt file): ================================================================= These files are licensed under an MIT-style license. See mit-license.txt for details. ================================================================= Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-07linux-libc-headers: make 3.7 the default and remove older libc-header recipesBruce Ashfield
Switch the default libc-headers to the 3.7 version. At the same time, remove older versions of the headers to keep things simple and clear. All userspace and kernel combinations should build and boot against this single lib-headers version. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07linux-libc-headers: add 3.7 versionMarcin Juszkiewicz
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07linux-yocto/3.4: update to v3.4.24Bruce Ashfield
Updating the 3.4 recipes to v3.4.24 stable version. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07linux-yocto/3.4: integrate v3.4.21, v3.4.22, v3.4.23Bruce Ashfield
Updating the SRCREVs to integrate the korg -stable updates. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-07oprofile: updated to 0.9.8Bogdan Marinescu
Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-25oprofile: use dynamic root home directoryKang Kai
Use stub "ROOTHOME" to replace "/home/root" in oprofile-root.patch, then we can substitute it with configured root home directory. Signed-off-by: Kang Kai <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-25blktrace: essentially rework the recipe, obey LDFLAGSFahad Usman
Signed-off-by: Christopher Larson <chris_larson@mentor.com> the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id aed463414e2e2bf8ca44ba54ee5973e7ed599e57 Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-14linux-firmware: split out ralink driversAnders Darander
To reduce disk usage on systems using the ralink driver, split out the ralink firmware to a separate package. Signed-off-by: Anders Darander <anders@chargestorm.se> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-14iperf: pass in target path varsFahad Usman
Signed-off-by: Christopher Larson <chris_larson@mentor.com> the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id 71748b54694f4ffe2d598da71f641969df1417c0 slightly modified the patch to apply it on .bb file instead of .bbappend Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-14perf: pass CFLAGS and LDFLAGSFahad Usman
Signed-off-by: Christopher Larson <chris_larson@mentor.com> the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit id 9d698004137c1a888d40d6a4808d94afa22387e7 Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-14perf: kill -WerrorFahad Usman
this fails to build using a recent sourcery toolchain due to unused-but-set-variable Signed-off-by: Christopher Larson <chris_larson@mentor.com> the patch was imported from meta-mentor layer on yoctoproject git server http://git.yoctoproject.org/cgit/cgit.cgi/meta-mentor as of commit ids 82e96b3baa1c64d03412871fce56d496a338f167 and ae325d011bd50501fe677c8b37295ae83030c526 Signed-off-by: Fahad Usman <fahad_usman@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-14Update the SRC_URI in systemtap recipeMaxin B. John
The SRC_URI in systemtap recipe uses 'sources.redhat.com' which redirects to 'sourceware.org'. This causes random fetch failures. Updating the recipe to use the direct link. Signed-off-by: Maxin B. John <Maxin.John@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-06babeltrace: upgrade to 1.0.0Constantin Musca
License checksum change due to diff: 15a16,22 > > * LGPLv2.1 > > The file include/babeltrace/list.h is licensed under LGPLv2.1. It only > contains trivial static inline functions and macros, and, therefore, > including it does not make babeltrace a derivative work on this header. > Please refer to the LGPLv2.1 license for details. Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-06linux-yocto/3.4: inform the fetcher if the meta branch changesBruce Ashfield
The meta data branch for the kernel can be varied by changing the KMETA variable, but that change wasn't reflected in the SRC_URI, which means that the fetcher won't check for changes on that branch and is a potential source of errors. Making the meta branch specification KMETA vs meta solves the problem. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-06linux-yocto/3.4: emenlow: switch from psb to emgd graphicsBruce Ashfield
Updating the meta branch SRCREVs for the following commit: [ meta/emenlow: use emgd instead of psb graphics driver This commit essentially does just this: Remove all the references of psb patches for emenlow BSP. Change the emenlow scc files to use emgd instead of psb. ] Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-06linux-yocto/3.4: merge v3.4.19, v3.4.20Bruce Ashfield
Updating the linux-yocto-3.4 trees to incorporate both 3.4.19 and 3.4.20 from the kernel.org -stable team. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-05oprofile: Include config.h before bfd.hKhem Raj
oprofile uses bfd.h from binutils which now in 2.23+ expects config.h so lets include it Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-12-03latencytop: add missing signed-off-by and re-add upstream statusJack Mitchell
When I made a change to this patch in git commit 1b41a4660d0 I accidently removed the Upstream Status line and also didn't add the required signed-off-by tag. Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-03linux-yocto/3.4: move PREEMPT_NONE to beagleboard standard kernel onlyBruce Ashfield
A recent report of the preempt-rt beagleboard kernel not enabling full -rt preemption out of the box revealed that the existing fix for SD boot issues (which were fixed by disabling preemption) was the root cause for the options not being enabled. Although the fix for the SD card detection issues is still valid, it also doesn't make sense to apply it to a kernel type that only exists to support enhanced preemption. Since many variants of the board boot with preemption enabled, opening the possibility of a boot problem is acceptable, given that it allows the -rt kernel to be used. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-26sysprof: Fixes undefined  reference to `rmb'Noor Ahsan
* Recipe already contains a patch for mips arch but not for mips64. For mips64 arch 'mips' was not available in OVERRIDES, rather mips64 was there. So added the same patch for mips64 arch using mips64. Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-24kern-tools: report missing config fragments by nameBruce Ashfield
If a configuration fragment was missing, the previous error output was not clear about the error: | [INFO] doing kernel configme | [INFO] Configuring target/machine combo: "standard/atom-pc" | [INFO] collecting configs in ./meta/meta-series | ERROR: could not sanitize configuration fragments | errors are logged in ... linux/meta/cfg/standard/atom-pc/config.log but we know the name of the missing fragment and can improve the error message to be this: | [ERROR] kernel configuration fragment fragment 'virto.cfg' cannot be found | ERROR. A meta series could not be created for branch yocto/standard/common-pc/atom-pc | ERROR. Could not locate meta series for atom-pc | ERROR. Could not apply patches for atom-pc. | Patch failures can be resolved in the devshell (bitbake -c devshell linux-yocto) [YOCTO #3473] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-24linux-yocto-3.4: gcc optimization config featureBruce Ashfield
Updating the meta SRCREV to include a x86 gcc optimization feature, and its use by several BSPs: 1c59807 meta: rangeley: Remove the shortcut path b5477d0 meta: crystalforest: Enable GCC inline compiler option ab2b874 meta: rangeley: Enable GCC inline compiler option 8287750 meta: Add New feature for GCC optimizing Signed-off-by: Kishore Bodke <kishore.k.bodke@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-22Revert "kern-tools: report missing config fragments by name"Richard Purdie
This reverts commit 46cc0d0a2f1486bf541c1a1b11075de3da396cc2 since the revision in question isn't in the repository.
2012-11-22kern-tools: report missing config fragments by nameBruce Ashfield
If a configuration fragment was missing, the previous error output was not clear about the error: | [INFO] doing kernel configme | [INFO] Configuring target/machine combo: "standard/atom-pc" | [INFO] collecting configs in ./meta/meta-series | ERROR: could not sanitize configuration fragments | errors are logged in ... linux/meta/cfg/standard/atom-pc/config.log but we know the name of the missing fragment and can improve the error message to be this: | [ERROR] kernel configuration fragment fragment 'virto.cfg' cannot be found | ERROR. A meta series could not be created for branch yocto/standard/common-pc/atom-pc | ERROR. Could not locate meta series for atom-pc | ERROR. Could not apply patches for atom-pc. | Patch failures can be resolved in the devshell (bitbake -c devshell linux-yocto) [YOCTO #3473] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-22linux-yocto/3.4: uprobes: reinstate config options for 'uprobe' featureBruce Ashfield
bumping the meta SRCREV to import the following fix: [ uprobes: reinstate config options for 'uprobe' feature commit 17ec51adfff (meta: cleanup invalid/obselete 3.4 CONFIG options) removed the uprobes config options, this restores them. ] Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-22linux-yocto/3.0: fix virtio configuration typoBruce Ashfield
The recent tools updates in master exposed a typo that has existed in the 3.0 kernel meta data and that breaks the build for boards still using the 3.0 kernel. Bumping the meta SRCREV to pickup the following fix: [ commit fa9b8c24e84bb9d75d08d197c84c50ce4f99c424 Author: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Wed Nov 21 09:24:46 2012 -0500 meta: fix typo in virtio.scc virtio.scc was referring to an invalid/incorrect virto.cfg. Fixing this typo fixes the build for boards still using the 3.0 kernel. ] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-21trace-cmd: Simplify SRC_URI patch entryRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-19kern-tools: flexibility and usability enhancementsBruce Ashfield
Updating the SRCREV to import the following changes. [updateme: find the board description with the highest score] This removes the requirement that a custom linux-yocto .scc file have define KTYPE <foo>, where <foo> is typically "standard". The tools can now match on a .scc file that only matches the board, but will still chose one that matches the board and kernel type, if available. [updateme: allow for tabs or spaces in defines] define KMACHINE<tab>$MACHINE was missed by the regex. [scc/kgit-meta: detect and avoid duplicating patching] To allow feature description to be included multiple times, they were previously split into -enable and 'patch' descriptions. With this change the patches will be detected as already included, and skipped automatically. Removing the need to do this split. It also cleans up the ability to warn about multiple includes. [kconf_check: add "verify" configuration fragment type] This adds the ability for a BSP to have a kernel configuration fragment that lists options that must be present. If they are not present it is a hard error. "required" is a similar fragment, but it adds them to the build, and audits them at the end, but does not abort the build if they are present. This is a minor distinction, but one that is useful when creating flexible, shared kernel config structures. [kconf_check: improve kernel audit report formatting] [kconf_check: perform validity checks on non-hardware options] [kconf_check: cleanups and verbose flag] The existing output was verbose and not always useful to the reader. This change makes the output more compact, audits non-hardware options and gives information [invalid (54)]: meta/cfg/preempt-rt/common-pc/invalid.cfg This BSP sets config options that are not offered anywhere within this kernel Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-11-19kern-tools: kconf_check: fix find warningBruce Ashfield
Bumping the kern-tools SRCREV to pickup the following change: [ kconf_check: fix find warning When searching for all available Kconfig files, kconf_check was using $meta_dir instead of $META_DIR. This resulted in a truncated path and the following warning: find: warning: -path $oe-path/linux/ will not match anything because it ends with /. Using the proper variable removes the warning and make sure that we do actually search all relevant directories. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ] [YOCTO #3226] Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-11-19linux-yocto/3.2: update to v3.2.32 and 3.2.32-rt48Bruce Ashfield
The 3.2 kernel was lagging behind on kernel.org -stable and -rt updates. Even though no 1.3 BSPs directly use this kernel, it should be updated for those that may use it. Sanity test on qemu* for -rt and standard builds. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-11-19linux-yocto/3.4: v3.4.17, v3.4.18, -rt and config changesBruce Ashfield
Bumping the linux-yocto/3.4 SRCREVs to incorporate the following updates: - v3.4.17 - v3.4.18 - 3.4.18-rt29 Also incorporating the following meta branch config changes: 5bd6d0d rangeley: update include to use the new intel-dpdk feature 4b277c2 dpdk: Add feature Intel DPDK 3905e74 meta: rangeley: Enable Zlib Compression 194c5f1 meta: Add a new feature for Zlib 14cb04d meta: rangeley: Enable AES feature 8e4dbf6 meta: Add new feature for Ciphers 7e75c1f enable IPv6 Router Preference (RFC 4191) support dfd56d1 Create IPv4 and IPv6 IPSec fragments 0a85061 rangeley: Add smp support 1190856 rangeley: Add efi support b262e38 rangeley: Add PCI features 80c9084 rangeley: Add uio and hugetlb support Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-11-19linux-yocto/3.4: bump kver to v3.4.16Bruce Ashfield
The -stable 3.4 kernel has updated versions, so we import 3.4.16 and make that our new baseline. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-11-19linux-yocto/3.4: efi/mmc fixes and fri2 updatesBruce Ashfield
Updating the 3.4 SRCREVs to pick up the following two fixes: 218bd8d efi: Add patch to fix 32bit EFI service mapping (rhbz 726701) b6d08f7 mmc: sdhci: Use DBG() instead of pr_warning() on large timeout And the following meta branch config updates: 68a635b fri2: Disable GPIO_PCH for preempt-rt 2ec32d5 fri2: Add fri2-tiny support a7b9607 fri2: Required boot config for fri2 bed2080 fri2: Remove graphics options from the core fri2 description Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-11-19linux-yocto/3.4: nfsd, pci, fishriver and rangely config changesBruce Ashfield
Updating the 3.4 meta branch with the following configuration changes and additions: 0541ba5 meta: Rangeley Machine Created 9e3bdb7 meta: Add nfsd kernel features da9b37d CrystalForest: Enable PCI extended config space for CrystalForest Machine. 628cbe9 meta: Add a new feature for PCI devices. 9c3a2b3 meta: fishriver: remove meta-data Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-11-19kmod: fix git repo URLEric Bénard
Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-12meta: remove redundant _FOR_BUILD variablesRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02recipes-kernel: replace virtclass-native(sdk) with class-native(sdk)Robert Yang
The overrides virtclass-native and virtclass-nativesdk are deprecated, which should be replaced by class-native and class-nativesdk. [YOCTO #3297] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-11-02babeltrace: fix dependsJack Mitchell
Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-11-02latencytop: disable GTK and remove gtk+ dependacyJack Mitchell
When DISTRO_FEATURES does not contain x11, disable GTK GUI and also don't add gtk+ to the DEPENDS Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-27lttng-modules: remove unused lttng-syscalls patchTom Zanussi
commit b7e184508 (lttng-2.0: fix srcrev/pv to match the recipe filenames) removed the lttng-sycalls-protect-is_compat_task-from-redefiniti.patch from the SRC_URI but forgot to remove the patch itself. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-24linux-firmare: upgrade to latest commitRoss Burton
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-24lttng-2.0: fix srcrev/pv to match the recipe filenamesChristopher Larson
Somehow the recipe names got bumped, but the SRCREV and PVs in the recipes didn't get updated, so they were still building old versions. Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-19PACKAGES_DYNAMIC: use regexp not globMartin Jansa
* bitbake uses PACKAGES_DYNAMIC as regexp ^ could make matching faster (and it will be more clear that we're expecting regexp not glob) * made all those last '-' optional, use .* (or nothing) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18perf: set the perfexecdirSaul Wold
This allows the files installed into /usr/libexec to be relocated to ${libexecdir}. removed unneded prefix=/usr, which would prevent ${prefix} relocation. Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18lttng: support more compatible hostsVladimir Zapolskiy
THis change extends COMAPTIBLE_HOST matchings, which allows to include more hosts with TARGET_OS like linux-gnuspe or linux-gnueabi etc. Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@mentor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-18kexec-tools: Add dependency on xzRichard Purdie
kexec-tools optionally looks for the lzma code provided by xz. Since this is generally useful for lzma compressed kernels, add the dependency and make builds determinstic. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-18lttng-tools: skip new libexec insane testSaul Wold
Because lttng-tools installs files into /usr/lib/lttng/libexec, the test matches and throws a false positive, so use INSANE_SKIP Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-10-08linux-yocto/3.4: perf: parallel build and tools fixesBruce Ashfield
korg commit 42dcd1f4e [perf tools: Fix parallel build] fixes parallel build issues that are being seen in the autobuilder. We also have a fix from Tom: [ perf annotate: replace 'expand' with equivalent sed expression We don't have 'expand' in our userspace so we need to accomplish the same thing using 'sed', which we do have. ] So we apply it to all BSP branches and kernel types. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>