diff options
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 191305969c..5f0ba7c180 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
| @@ -106,7 +106,6 @@ EXTRA_OEMAKE += "\ | |||
| 106 | EXTRA_OEMAKE_append_task-configure = " JOBS=1" | 106 | EXTRA_OEMAKE_append_task-configure = " JOBS=1" |
| 107 | 107 | ||
| 108 | PERF_SRC ?= "Makefile \ | 108 | PERF_SRC ?= "Makefile \ |
| 109 | include \ | ||
| 110 | tools/arch \ | 109 | tools/arch \ |
| 111 | tools/build \ | 110 | tools/build \ |
| 112 | tools/include \ | 111 | tools/include \ |
| @@ -248,14 +247,6 @@ do_configure_prepend () { | |||
| 248 | # so we copy it from the sysroot unistd.h to the perf unistd.h | 247 | # so we copy it from the sysroot unistd.h to the perf unistd.h |
| 249 | install -D -m0644 ${STAGING_INCDIR}/asm-generic/unistd.h ${S}/tools/include/uapi/asm-generic/unistd.h | 248 | install -D -m0644 ${STAGING_INCDIR}/asm-generic/unistd.h ${S}/tools/include/uapi/asm-generic/unistd.h |
| 250 | install -D -m0644 ${STAGING_INCDIR}/asm-generic/unistd.h ${S}/include/uapi/asm-generic/unistd.h | 249 | install -D -m0644 ${STAGING_INCDIR}/asm-generic/unistd.h ${S}/include/uapi/asm-generic/unistd.h |
| 251 | |||
| 252 | # bits.h can have the same issue as unistd.h, so we make the tools variant take precedence | ||
| 253 | [ -e ${S}/tools/include/linux/bits.h ] && install -D -m0644 ${S}/tools/include/linux/bits.h ${S}/include/linux/bits.h | ||
| 254 | |||
| 255 | [ -e ${S}/tools/perf/util/include/linux/ctype.h ] && install -D -m0644 ${S}/include/linux/ctype.h ${S}/tools/perf/util/include/linux/ctype.h | ||
| 256 | |||
| 257 | [ -e ${S}/include/uapi/linux/kvm.h ] && install -D -m0644 ${S}/include/uapi/linux/kvm.h ${S}/tools/include/uapi/linux/kvm.h | ||
| 258 | [ -e ${S}/include/uapi/linux/sched.h ] && install -D -m0644 ${S}/include/uapi/linux/sched.h ${S}/tools/include/uapi/linux/sched.h | ||
| 259 | } | 250 | } |
| 260 | 251 | ||
| 261 | python do_package_prepend() { | 252 | python do_package_prepend() { |
