summaryrefslogtreecommitdiff
path: root/meta/recipes-kernel
AgeCommit message (Collapse)AuthorFiles
2012-08-30Update lttng-2.0 versionsChristopher Larson3
lttng-modules: 2.0.pre11 -> 2.0.5 lttng-tools: 2.0.1 -> 2.0.4 lttng2-ust: 2.0.2 -> 2.0.5 Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-28perf: add bison and flex to DEPENDSTom Zanussi1
perf depends on bison and flex for event parsing - add them as dependencies. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-08-25kernel-yocto: set master branch to a defined SRCREVBruce Ashfield1
To support custom repositories that set a SRCREV and that only have a single master branch, do_validate_branches needs a special case for 'master'. We can't delete and recreate the branch, since you cannot delete the current branch, instead we must reset the branch to the proper SRCREV. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-25kernel.bbclass: fix INC directory for SLANGLiang Li4
In the kernel's tools/perf/Makefile CFLAGS was previously hard coded to contain "-I/usr/include/slang" to work with hosts that have "/usr/include/slang/slang.h" as well as hosts that have "/usr/include/slang.h". This path can cause compile warnings like: cc1: warning: '/usr/include/slang' doesn't exists. or cc1: warning: include location "/usr/include/slang" is unsafe for cross-compilation [-Wpoison-system-directories] Then in some cases warnings become errors if WERROR is enabled hence build errors. In coordination with a kernel fix, we can fix this error for all kernels by modifying the perf Makefile within the staged kernel source. Signed-off-by: Liang Li <liang.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-25kmod-native_git.bb: fix builds for hosts with older libcMatthew McClintock2
kmod will fail to build with the following error because O_CLOEXEC is not defined: | libkmod/libkmod-module.c: In function 'kmod_module_get_initstate': | libkmod/libkmod-module.c:1640: error: 'O_CLOEXEC' undeclared (first use in this function) | libkmod/libkmod-module.c:1640: error: (Each undeclared identifier is reported only once | libkmod/libkmod-module.c:1640: error: for each function it appears in.) | libkmod/libkmod-module.c: In function 'kmod_module_get_refcnt': | libkmod/libkmod-module.c:1754: error: 'O_CLOEXEC' undeclared (first use in this function) | libkmod/libkmod-module.c: In function 'kmod_module_get_sections': | libkmod/libkmod-module.c:1913: error: 'O_CLOEXEC' undeclared (first use in this function) | libkmod/libkmod-file.c: In function 'kmod_file_open': | libkmod/libkmod-file.c:282: error: 'O_CLOEXEC' undeclared (first use in this function) | libkmod/libkmod-file.c:282: error: (Each undeclared identifier is reported only once | libkmod/libkmod-file.c:282: error: for each function it appears in.) Since we are only using kmod-native for depmod, and it's a non-threaded user of this libary being built this should be safe to override O_CLOEXEC. Keep in mind this is ONLY effecting the native builds and not what is being shipped in the root file system. Signed-off-by: Matthew McClintock <msm@freescale.com>
2012-08-23linux-yocto: Remove parens from COMPATIBLE_MACHINE regexpKhem Raj3
This helps in appending to this regexp from bbappends coming from other layers who want to leverage linux-yocto with minimum tweaks by using a standard prefefined machine from linux-yocto Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19linux-yocto/3.0: update meta SRCREVBruce Ashfield2
Bumping the meta SRCREV to pickup this fix: meta: rename virto.scc to virtio.scc The virtio configuration block is misnamed. BSPs that include it with the proper name, now throw an error (as they should). So fixing the name of the fragment fixes the build. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-08-19linux-yocto-tiny: set default branchBruce Ashfield1
To streamline the creation of build time branches (branches that are not always present in the upstream kernel repository), linux-yocto-tiny should specify a default kernel branch. By setting the default branch (KBRANCH_DEFAULT) and also setting the build branch (KBRANCH) to that default, the tools will allow the board description to be processed and no branching forced. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2012-08-19perf_3.4.bb: update to build against older kernelsMatthew McClintock1
Removes a make install-python_ext when not present since older versions of perf lack this install rule This also fixes a library issue on older kernels building with a newer toolchain where libaries that would previously be pulled in are no longer. So we add them manually. Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19kern-tools: fixes (branching,buildall) + cleanups (checkpoint,cleaner)Bruce Ashfield1
Updating the kern-tools SRCREV to pickup a collection of bug fixes and cleanups: 75e71c3 kgit-config-cleaner: add -k <keep option> 02be3b5 buildall: switch back to scc driven processing c7101db kern-tools: support flexible branching e2d06bd kern-tools: Remove superfluous references to "defconfig" from the "createme" script. e693754 kgit-checkpoint: fix verify_branch variable name typo ee67a7b kgit-config-cleaner: fix redefintion processing Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19linux-yocto: explicitly export KMETA to scriptsBruce Ashfield1
The kern-tools scripts can support a meta branch and directory of a name that isn't "meta", but they need the name passed through the environment variable KMETA. ensuring that KMETA is exported in the shell environment sets the stage to support flexible meta branch name. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19linux-yocto/3.4: remove explicit KBRANCH designationsBruce Ashfield1
A BSP specific KBRANCH assignment is no longer a required element to locate and build a yocto kernel. As such we can set the default kbranch, and remove all other explicit assignments. KBRANCH is still used, and if it is changed from the default, that branch will be built. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19linux-yocto: make KBRANCH the exception and not the ruleBruce Ashfield1
The kernel branch is no longer required by the yocto-kern-tools to locate BSP feature descriptions (it is the MACHINE:KTYPE descriptor), so we no longer require that the BSP branch be explicitly set. If a kernel branch is explicitly set, it is now used to trigger a checks to ensure that the branch really is being built. Otherwise the branch that the machine description creates will be built (just as it always was). This further simplies the use and configuration of a linux-yocto based kernel recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19linux-yocto/3.4: BSP, uprobes, config and cleanupsBruce Ashfield2
Updating the linux-yocto 3.4 recipe with consolidated fixes, BSPs and cleanups. From the kernel meta branch: 28bcd46 meta: move emgd features to staging 6c01949 meta: Crystal Forest Machine Created. 3c19c4d meta/qemuppc: remove redundant profiling options a5da4d5 meta: kgdb: update configuration for out of box functionality 1d13e00 meta: update status/series and patches for v3.4 b96c408 fsl-mpc8315e-rdb: replace leading dot with hash in cfg file 7c9a3b0 usb: fix scc and cfg filename collision with ktypes/base/ aa0e1f6 kconfig: make CONFIG_BLOCK=y part of base config 3d1a2f2 kconfig: add tty/serial file to hardware listing 60b600f routerstationpro: specify chosen filesystems in audit input. 8b5c8c7 routerstationpro: add config data for audit purposes d7ae8fa meta: add ath79 Kconfig to hardware listing. And from the standard branch: c77666c powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr. c262f3e powerpc: Uprobes port to powerpc d40e73d powerpc: Add trap_nr to thread_struct 6a64190 Revert "This is the port of uprobes to powerpc. Usage is similar to x86." e422119 Revert "powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr." d4ef82f keys: kill task_struct->replacement_session_keyring 1cc141e keys: kill the dummy key_replace_session_keyring() 090ca45 keys: change keyctl_session_to_parent() to use task_work_add() 61bc7a8 genirq: reimplement exit_irq_thread() hook via task_work_add() 5ee34dd task_work_add: generic process-context callbacks 70754de move key_repace_session_keyring() into tracehook_notify_resume() 6f70bc1 powerpc: uprobes: removed external declaration of uprobe_get_swbp_addr. e5f6a4c This is the port of uprobes to powerpc. Usage is similar to x86. 2bc4597 On RISC architectures like powerpc, instructions are fixed size. Instruction analysis on such pl 8893371 perf probe: Detect probe target when m/x options are absent 544d531a perf probe: Provide perf interface for uprobes 103b503 tracing: Fix kconfig warning due to a typo 9bb012e tracing: Provide trace events interface for uprobes b9b7281 tracing: Extract out common code for kprobes/uprobes trace events 91f0360 tracing: Modify is_delete, is_return from int to bool a8600f2 uprobes/core: Decrement uprobe count before the pages are unmapped a252056 uprobes/core: Make background page replacement logic account for rss_stat counters 3efc15b uprobes/core: Optimize probe hits with the help of a counter 20f3d76 uprobes/core: Allocate XOL slots for uprobes use 77bfad8 uprobes/core: Handle breakpoint and singlestep exceptions 7196d9a uprobes/core: Rename bkpt to swbp c99bc18 uprobes/core: Make order of function parameters consistent across functions 7e9be99 uprobes/core: Make macro names consistent c4247f2 uprobes: Update copyright notices f066ff9 uprobes/core: Move insn to arch specific structure e91cf65 uprobes/core: Remove uprobe_opcode_sz 942b91c uprobes/core: Make instruction tables volatile 56c1e99 uprobes: Move to kernel/events/ 0a7ad1c uprobes/core: Clean up, refactor and improve the code 3760d62 uprobes, mm, x86: Add the ability to install and remove uprobes breakpoints Two BSP updates: - Crystal Forest Machine has been added - routerstationpro configuration updates for 3.4 Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-19linux-yocto: bump version to 3.4.7Bruce Ashfield2
The v3.4.7 -stable update has been released, updating all in-tree BSPs to this new baseline. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-15powertop: cleanup update-alternatives deprecated codeSaul Wold1
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-08-07linux-yocto-3.2: Apply slang workaround fixing perf builds to 3.2 kernels tooRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07linux-yocto-3.0: Apply slang workaround fixing perf builds to 3.0 kernels tooRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07linux-yocto-3.4: Disable extra slang header search pathRichard Purdie2
Add in a workaround to avoid host infection detection build failures from the slang include directory in perf. I'll defer to Bruce to fix this properly but we need a workaround now as this is breaking builds. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07linux-firmware: Ensure PR goes forward, not backwards after the revertRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-07Revert "linux-firware: use ${base_libdir} instead of /lib for packaging"Richard Purdie1
This change breaks firmware loading on 64 bit platforms. This therefore reverts commit ce2665b6ae77770d69ffbc4d45c96ce829d16738.
2012-08-07kernelshark: Inherit pythonnativeRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06babeltrace: Update to upstream stable versrion 0.12Radu Moisan1
Latest version is 1.0.0 but in rc4 for now. Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06linux-firware: use ${base_libdir} instead of /lib for packagingJavier Martinez Canillas1
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-06systemtap: use ${datadir} instead of /usr/share for packagingJavier Martinez Canillas1
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-02kmod: Upgrade to upstream version 9.0Radu Moisan2
Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-31trace-cmd: Update for python-native changesMorgan Little1
Add pythonnative to the inherits list Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-26linux-yocto/rt: update BSP preempt-rt.scc files to enable live bootBruce Ashfield5
Updating the meta branch SCREV to pickup the preempt-rt commits to fix live boot on the x86 boards: 7ff48aa sys940x: Append default preempt-rt policy 052ecea sugarbay: Append default preempt-rt policy b8230e3 jasperforest: Append default preempt-rt policy 7fb788a chiefriver: Append default preempt-rt policy ffbb5ea romley: Append default preempt-rt policy 5fe5f68 cedartrail: Append default preempt-rt policy 85bee0c atom-pc: Append default preempt-rt policy Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-26linux-yocto/3.4: 3.4.6 and 3.4.x-rt14Bruce Ashfield2
Updating the 3.4 kernel to the latest -stable release and updating preempt-rt to 3.4.4-rt14. Tested on qemu* Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-22kmod: Add missing DEPENDS on pkgconfig-nativeRichard Purdie1
Without this it can't reautoconf or run configure since it depends on pkg-config. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22linux-yocto/3.4: emgd, mtd nand and kmemcheck fixesBruce Ashfield2
Updating the 3.4 meta SRCREV for the following fixes: 949fddd meta: crownbay.scc change emgd branch name cd0721a yocto/emgd: emgd 1.14 driver c2b5ee3 meta: disable CONFIG_MTD_NAND_VERIFY_WRITE 004cadb meta: kmemcheck: 'other' configs turning on CONFIG_FUNCTION_TRACER Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22perf: Update for python-native changesMorgan Little1
Add pythonnative to the inherits list Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22kmod: inherit gtk-doc, gnome-doc-utils-native isn't the package you were ↵Ross Burton1
looking for Signed-off-by: Ross Burton <ross.burton@intel.com>
2012-07-19Remove a number of unneeded import os/bb callsRichard Purdie1
The bb and os modules are always imported so having these extra import calls are a waste of space/execution time. They also set a bad example for people copy and pasting code so clean them up. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie1
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-16linux-libc-headers: updated to 3.4.3Bogdan Marinescu2
Tested by building core-image-sato-sdk. Signed-off-by: Bogdan Marinescu <bogdan.a.marinescu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-07-12perf: add perl, python to DEPENDSTom Zanussi1
perf has perl and python compile-time dependendencies, add them. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-11linux-yocto/3.0: perf scripting supportBruce Ashfield2
Updating the 3.0 SRCREVs to pickup the recent perf scripting fixes. cef17a1 perf: add sgidefs.h to for mips builds 3258da3 perf: change --root to --prefix for python install 1f9c25b perf: add 'libperl not found' warning f2b1bf1 perf: use pkg-config instead of python-config 568e05f perf tools: Add support to install perf python extension 7e47f81 Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON" Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-11dtc.inc: fix for libdir == /usr/lib64Matthew McClintock1
On 64bit systems dtc will still install libaries in /usr/lib unless we havet this override Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10perf: add perf-tui featureTom Zanussi1
Add a new feature named 'perf-tui'. Adding this into the PERF_FEATURES variable in perf.inc will enable the perf TUI (Text-base UI) user interface on a target, which adds libnewt and turns on the perf text UI options in perf, if perf is included in an image. If 'perf-tui' isn't named as a feature (the default), the perf TUI will be disabled and unavailable. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10perf: add perf-scripting featureTom Zanussi1
Add a new feature named 'perf-scripting'. Adding this into the PERF_FEATURES variable in perf.inc will enable perf scripting on a target, which will turn on all the language bindings currently available in perf (Perl and Python), if perf is included in an image. If 'perf-scripting' isn't named as a feature (the default), all perf language bindings will be disabled and unavailable. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10perf: add perf.incTom Zanussi2
Add a perf.inc to contain utility functions and definitions and to avoid cluttering up the main recipe. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10linux-yocto/3.4: perf, unionfs and yaffs2 fixesBruce Ashfield2
Updating the 3.4 SRCREVs to pickup the following changes: 6297e4c perf: add sgidefs.h to for mips builds 69b7817 yaffs: add leading underscore to mtd_info function names 160f1ac yaffs: change type for mode to umode_t 2d875e8 Unionfs: use mode_t Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-10linux-yocto/3.2: perf: fix mips buildBruce Ashfield3
Updating SRCREVs for the following fix: Author: Tom Zanussi <tom.zanussi@intel.com> Date: Tue Jul 10 09:38:40 2012 -0500 perf: add sgidefs.h to for mips builds Allow Python.h to find the definitions it needs on mips i.e. get rid of the error: "_ABIN32" is not defined. 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-07-10linux-yocto/3.2: perf scripting updatesBruce Ashfield3
Updating the 3.2 SRCREVs to reflect the perf scripting fixes by TomZ standard/default/base: 0ec416e perf: change --root to --prefix for python install 18ad076 perf: add 'libperl not found' warning e0f641d perf: use pkg-config instead of python-config 3195098 Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON" meta: 07ee09b features/ftrace: enable FTRACE_SYSCALLS Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09linux-yocto/3.4: perf scripting & unionfs fixesBruce Ashfield2
Updating the SRCREVs to pickup the following changes: standard/base: 95c79fb Unionfs: update ->show_options prototype 49f1599 perf: change --root to --prefix for python install 8ff1ab6 perf: add 'libperl not found' warning b4bc865 perf: use pkg-config instead of python-config a2257bf Revert "perf: hard-code NO_LIBPERL/NO_LIBPYTHON" meta: a8cf770 features/ftrace: enable FTRACE_SYSCALLS Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-05perf: remove unconditional python-ext installTom Zanussi1
This shouldn't be unconditional - a later patch made it so, but that's not yet pulled in. In the meantime, to fix build failures remove the unconditional install. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-05linux-firware: bump PE because git SRC_URI was changed resulting in ↵Martin Jansa1
LOCALCOUNT reset Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-04perf: add libexec/perf-core and contentsTom Zanussi1
libexec/perf-core contains all the pre-canned scripts and modules needed by both the Perl and Python bindigs. Add libexec/perf-core along with all the pre-defined perf scripts underneath it. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
2012-07-04perf: enable Perl bindingTom Zanussi1
Add support to enable the perf Perl binding. The build depends on perl-native to retrieve the configuration settings needed for the binding. cpan-base adds some useful functions like is_target() and get_perl_version() that we need for PERLCONFIGTARGET and related settings, which allow us to use the target's Config_heavy.pl settings for ExtUtils:Embed when building for the target. Also adds the perl-modules dependency to give the target the perl modules that scripts using the binding need. Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>