diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index ccd2c7d11b..e9db6c66c4 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -147,6 +147,8 @@ python copy_perf_source_from_kernel() { | |||
147 | for s in sources: | 147 | for s in sources: |
148 | src = oe.path.join(src_dir, s) | 148 | src = oe.path.join(src_dir, s) |
149 | dest = oe.path.join(dest_dir, s) | 149 | dest = oe.path.join(dest_dir, s) |
150 | if not os.path.exists(src): | ||
151 | bb.fatal("Path does not exist: %s. Maybe PERF_SRC does not match the kernel version." % src) | ||
150 | if os.path.isdir(src): | 152 | if os.path.isdir(src): |
151 | oe.path.copyhardlinktree(src, dest) | 153 | oe.path.copyhardlinktree(src, dest) |
152 | else: | 154 | else: |