summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/perf
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-07-10 00:14:56 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-12 22:55:45 +0100
commit301e73b5afe6ddc205d7817b4ae74cba348c2298 (patch)
tree47eddebedda905c8d9f0aa11bbae5e01b026eef4 /meta/recipes-kernel/perf
parent3f71c883b8a5f48205f881d654f25f4cc32efbcc (diff)
downloadpoky-301e73b5afe6ddc205d7817b4ae74cba348c2298.tar.gz
perf: remove invalid sed command
The current kernel supports WERROR now, and there is no Werror in tools/perf/Makefile, remove both sed commands. (From OE-Core rev: 664508e6307903fdc3054ca84d37f16718c41ede) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/perf')
-rw-r--r--meta/recipes-kernel/perf/perf.bb6
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index eb273740ee..0cadcdc7ab 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -120,12 +120,6 @@ do_configure_prepend () {
120 rm -rf ${B}/ 120 rm -rf ${B}/
121 mkdir ${B}/ 121 mkdir ${B}/
122 122
123 #kernels before 3.1 do not support WERROR env variable
124 sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile
125 if [ -e "${S}/tools/perf/config/Makefile" ]; then
126 sed -i 's,-Werror ,,' ${S}/tools/perf/config/Makefile
127 fi
128
129 # If building a multlib based perf, the incorrect library path will be 123 # If building a multlib based perf, the incorrect library path will be
130 # detected by perf, since it triggers via: ifeq ($(ARCH),x86_64). In a 32 bit 124 # detected by perf, since it triggers via: ifeq ($(ARCH),x86_64). In a 32 bit
131 # build, with a 64 bit multilib, the arch won't match and the detection of a 125 # build, with a 64 bit multilib, the arch won't match and the detection of a