diff options
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 9120766858..5acdcfb9f0 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -235,6 +235,10 @@ do_configure_prepend () { | |||
235 | for s in `find ${S}/tools/perf/scripts/python/ -name '*.py'`; do | 235 | for s in `find ${S}/tools/perf/scripts/python/ -name '*.py'`; do |
236 | sed -i 's,/usr/bin/python2,/usr/bin/env python,' "${s}" | 236 | sed -i 's,/usr/bin/python2,/usr/bin/env python,' "${s}" |
237 | done | 237 | done |
238 | |||
239 | # unistd.h can be out of sync between libc-headers and the captured version in the perf source | ||
240 | # so we copy it from the sysroot unistd.h to the perf unistd.h | ||
241 | cp ${STAGING_INCDIR}/asm-generic/unistd.h ${S}/tools/include/uapi/asm-generic/unistd.h | ||
238 | } | 242 | } |
239 | 243 | ||
240 | python do_package_prepend() { | 244 | python do_package_prepend() { |