1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 05:09:24 +00:00

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>
This commit is contained in:
Robert Yang
2015-07-10 00:14:56 -07:00
committed by Richard Purdie
parent 3f71c883b8
commit 301e73b5af
-6
View 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