mirror of
https://git.yoctoproject.org/poky
synced 2026-02-21 08:59:41 +01:00
Updating the linux-yocto/2.6.37 SRCREVs to pickup:
perf tool: Fix gcc 4.6.0 issues
1/1 [
Author: Kyle McMartin
Email: kyle@mcmartin.ca
Subject: perf tool: Fix gcc 4.6.0 issues
Date: Thu, 5 May 2011 00:06:01 -0400
commit fb7d0b3cefb80a105f7fd26bbc62e0cbf9192822 upstream.
GCC 4.6.0 in Fedora rawhide turned up some compile errors in tools/perf
due to the -Werror=unused-but-set-variable flag.
I've gone through and annotated some of the assignments that had side
effects (ie: return value from a function) with the __used annotation,
and in some cases, just removed unused code.
In a few cases, we were assigning something useful, but not using it in
later parts of the function.
kyle@dreadnought:~/src% gcc --version
gcc (GCC) 4.6.0 20110122 (Red Hat 4.6.0-0.3)
Cc: Ingo Molnar <mingo@redhat.com>
LKML-Reference: <20110124161304.GK27353@bombadil.infradead.org>
(From OE-Core rev: efc68af7259b4bcbb1e03a090128289a7cdc7944)
Signed-off-by: Kyle McMartin <kyle@redhat.com>
[ committer note: Fixed up the annotation fixes, as that code moved recently ]
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
[Backported to 2.6.38.2 by deleting unused but set variables]
Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
[Backported to linux-yocto kernel git version]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
]
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
54 lines
2.2 KiB
BlitzBasic
54 lines
2.2 KiB
BlitzBasic
inherit kernel
|
|
require linux-yocto.inc
|
|
|
|
KMACHINE = "yocto/standard/base"
|
|
KMACHINE_qemux86 = "yocto/standard/common-pc/base"
|
|
KMACHINE_qemux86-64 = "yocto/standard/common-pc-64/base"
|
|
KMACHINE_qemuppc = "yocto/standard/qemu-ppc32"
|
|
KMACHINE_qemumips = "yocto/standard/mti-malta32-be"
|
|
KMACHINE_qemuarm = "yocto/standard/arm-versatile-926ejs"
|
|
KMACHINE_atom-pc = "yocto/standard/common-pc/atom-pc"
|
|
KMACHINE_routerstationpro = "yocto/standard/routerstationpro"
|
|
KMACHINE_mpc8315e-rdb = "yocto/standard/fsl-mpc8315e-rdb"
|
|
KMACHINE_beagleboard = "yocto/standard/beagleboard"
|
|
|
|
KBRANCH = ${KMACHINE}
|
|
KMETA = meta
|
|
|
|
LINUX_VERSION ?= "2.6.37"
|
|
LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
|
|
|
|
SRCREV_machine_qemuarm = "b0375c21e29453458f9aa9986dc3f1ec69bf1aef"
|
|
SRCREV_machine_qemumips = "f5d26f2eda2be8b942172cda8f27de33ebf38ec3"
|
|
SRCREV_machine_qemuppc = "7eb6c68d977d9039a2b5a734172b064a9d19cdc1"
|
|
SRCREV_machine_qemux86 = "ad62d1aab734513cd96c8f4517f816420a218e77"
|
|
SRCREV_machine_qemux86-64 = "b906f358fd404a1e74a961f25079274e0d933ee1"
|
|
SRCREV_machine_emenlow = "c3bbcb676f929c4fc0511a6e66494b8770d015a1"
|
|
SRCREV_machine_atom-pc = "b906f358fd404a1e74a961f25079274e0d933ee1"
|
|
SRCREV_machine_routerstationpro = "95ca94d2e71ca2db6822a37a7f575fa79c3d05d0"
|
|
SRCREV_machine_mpc8315e-rdb = "53c800c244e73d81d2832f6da306eeae3b09e5dc"
|
|
SRCREV_machine_beagleboard = "b906f358fd404a1e74a961f25079274e0d933ee1"
|
|
SRCREV_machine = "b906f358fd404a1e74a961f25079274e0d933ee1"
|
|
SRCREV_meta = "ecab1e2bc12a8b0c4d064a00acc3260f6e8528c5"
|
|
|
|
PR = "r17"
|
|
PV = "${LINUX_VERSION}+git${SRCPV}"
|
|
SRCREV_FORMAT = "meta_machine"
|
|
|
|
SRC_URI = "git://git.yoctoproject.org/linux-yocto-2.6.37;protocol=git;nocheckout=1;branch=${KBRANCH},meta;name=machine,meta"
|
|
|
|
COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64|mpc8315e-rdb|routerstationpro|beagleboard)"
|
|
|
|
# Functionality flags
|
|
KERNEL_REVISION_CHECKING ?= "t"
|
|
KERNEL_FEATURES="features/netfilter"
|
|
KERNEL_FEATURES_append_qemux86=" cfg/sound"
|
|
KERNEL_FEATURES_append_qemux86-64=" cfg/sound"
|
|
|
|
# extra tasks
|
|
addtask kernel_link_vmlinux after do_compile before do_install
|
|
addtask validate_branches before do_patch after do_kernel_checkout
|
|
addtask kernel_configcheck after do_configure before do_compile
|
|
|
|
require linux-tools.inc
|