summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r--meta/recipes-kernel/perf/perf.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index c43f39cd1d..3d6ffb30fb 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -88,6 +88,7 @@ EXTRA_OEMAKE = '\
88' 88'
89 89
90EXTRA_OEMAKE += "\ 90EXTRA_OEMAKE += "\
91 'DESTDIR=${D}' \
91 'prefix=${prefix}' \ 92 'prefix=${prefix}' \
92 'bindir=${bindir}' \ 93 'bindir=${bindir}' \
93 'sharedir=${datadir}' \ 94 'sharedir=${datadir}' \
@@ -110,7 +111,7 @@ do_compile() {
110do_install() { 111do_install() {
111 # Linux kernel build system is expected to do the right thing 112 # Linux kernel build system is expected to do the right thing
112 unset CFLAGS 113 unset CFLAGS
113 oe_runmake DESTDIR=${D} install 114 oe_runmake install
114 # we are checking for this make target to be compatible with older perf versions 115 # we are checking for this make target to be compatible with older perf versions
115 if [ "${@perf_feature_enabled('perf-scripting', 1, 0, d)}" = "1" ] && grep -q install-python_ext ${S}/tools/perf/Makefile*; then 116 if [ "${@perf_feature_enabled('perf-scripting', 1, 0, d)}" = "1" ] && grep -q install-python_ext ${S}/tools/perf/Makefile*; then
116 oe_runmake DESTDIR=${D} install-python_ext 117 oe_runmake DESTDIR=${D} install-python_ext