diff options
| -rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index 5672f7d338..a90acd55ef 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
| @@ -138,6 +138,7 @@ PERF_SRC ?= "Makefile \ | |||
| 138 | tools/perf \ | 138 | tools/perf \ |
| 139 | tools/scripts \ | 139 | tools/scripts \ |
| 140 | scripts/ \ | 140 | scripts/ \ |
| 141 | arch/arm64/tools \ | ||
| 141 | arch/${ARCH}/Makefile \ | 142 | arch/${ARCH}/Makefile \ |
| 142 | " | 143 | " |
| 143 | 144 | ||
| @@ -183,7 +184,8 @@ python copy_perf_source_from_kernel() { | |||
| 183 | src = oe.path.join(src_dir, s) | 184 | src = oe.path.join(src_dir, s) |
| 184 | dest = oe.path.join(dest_dir, s) | 185 | dest = oe.path.join(dest_dir, s) |
| 185 | if not os.path.exists(src): | 186 | if not os.path.exists(src): |
| 186 | bb.fatal("Path does not exist: %s. Maybe PERF_SRC does not match the kernel version." % src) | 187 | bb.warn("Path does not exist: %s. Maybe PERF_SRC lists more files than what your kernel version provides and needs." % src) |
| 188 | continue | ||
| 187 | if os.path.isdir(src): | 189 | if os.path.isdir(src): |
| 188 | oe.path.copyhardlinktree(src, dest) | 190 | oe.path.copyhardlinktree(src, dest) |
| 189 | else: | 191 | else: |
