]> code.ossystems Code Review - openembedded-core.git/commitdiff
perf: remove invalid sed command
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 10 Jul 2015 07:14:56 +0000 (00:14 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 12 Jul 2015 21:53:21 +0000 (22:53 +0100)
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@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-kernel/perf/perf.bb

index eb273740ee10c345ff6f7dab0b63320949e18140..0cadcdc7ab68b8e3f0264cd9f4141b89e5aaf8f6 100644 (file)
@@ -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