aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHenning Heinold <henning@itconsulting-heinold.de>2014-06-24 23:34:45 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-03 13:44:53 +0100
commit7e38d8ad6f7f4c289975acdac5c4d254ff3df7e6 (patch)
tree1b404ee38ee7e8c77b17c98f6cdb92f9745a4676
parentab6bd289d51c3c44862b43241a99d3e4f3ff13c0 (diff)
downloadopenembedded-core-7e38d8ad6f7f4c289975acdac5c4d254ff3df7e6.zip
openembedded-core-7e38d8ad6f7f4c289975acdac5c4d254ff3df7e6.tar.gz
openembedded-core-7e38d8ad6f7f4c289975acdac5c4d254ff3df7e6.tar.bz2
perf: fix broken shell comparsion in do_install
The patch was sponsored by sysmocom Signed-off-by: Henning Heinold <henning@itconsulting-heinold.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-kernel/perf/perf.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 903ffa6..31c2c8e 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -109,7 +109,7 @@ do_install() {
unset CFLAGS
oe_runmake DESTDIR=${D} install
# we are checking for this make target to be compatible with older perf versions
- if [ "${@perf_feature_enabled('perf-scripting', 1, 0, d)}" = "1" -a $(grep install-python_ext ${S}/tools/perf/Makefile) = "0"]; then
+ if [ "${@perf_feature_enabled('perf-scripting', 1, 0, d)}" = "1" -a $(grep install-python_ext ${S}/tools/perf/Makefile) = "0" ]; then
oe_runmake DESTDIR=${D} install-python_ext
fi
}