[oe-commits] Robert Yang : perf: remove invalid sed command

git at git.openembedded.org git at git.openembedded.org
Fri Jul 10 14:12:09 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 303a07bc2155bebbcd98349185e2a676ef3d56da
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=303a07bc2155bebbcd98349185e2a676ef3d56da

Author: Robert Yang <liezhi.yang at windriver.com>
Date:   Fri Jul 10 00:14:56 2015 -0700

perf: remove invalid sed command

The current kernel supports WERROR now, and there is no Werror in
tools/perf/Makefile, remove both sed commands.

Signed-off-by: Robert Yang <liezhi.yang at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-kernel/perf/perf.bb | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index eb27374..0cadcdc 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -120,12 +120,6 @@ do_configure_prepend () {
     rm -rf ${B}/
     mkdir ${B}/
 
-    #kernels before 3.1 do not support WERROR env variable
-    sed -i 's,-Werror ,,' ${S}/tools/perf/Makefile
-    if [ -e "${S}/tools/perf/config/Makefile" ]; then
-        sed -i 's,-Werror ,,' ${S}/tools/perf/config/Makefile
-    fi
-
     # If building a multlib based perf, the incorrect library path will be
     # detected by perf, since it triggers via: ifeq ($(ARCH),x86_64). In a 32 bit
     # build, with a 64 bit multilib, the arch won't match and the detection of a 



More information about the Openembedded-commits mailing list