diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2013-09-12 05:28:17 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-09-14 08:21:00 +0100 |
commit | 0c11a7740b0e95a4456d5b025977eb02aa07755f (patch) | |
tree | 1241d973de7f2c41f16e7b142d368cd492f1dbc9 /meta | |
parent | 4137f9a996594653918076285f067f3898c61eef (diff) | |
download | poky-0c11a7740b0e95a4456d5b025977eb02aa07755f.tar.gz |
perf: source should be ready after do_unpack
In perf.bb:
S = "${STAGING_KERNEL_DIR}"
So the source should be ready after the do_unpack, and we need this:
do_unpack[depends] += "virtual/kernel:do_populate_sysroot"
Otherwise, maybe no source after do_unpack.
[YOCTO #5168]
(From OE-Core rev: 01d3b15518b981199120b3b9c6923678244aefdc)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/perf/perf.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb index a78fc057bb..d2c10484e6 100644 --- a/meta/recipes-kernel/perf/perf.bb +++ b/meta/recipes-kernel/perf/perf.bb | |||
@@ -52,6 +52,9 @@ export PERL_LIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)} | |||
52 | export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" | 52 | export PERL_ARCHLIB = "${STAGING_LIBDIR}${PERL_OWN_DIR}/perl/${@get_perl_version(d)}" |
53 | 53 | ||
54 | S = "${STAGING_KERNEL_DIR}" | 54 | S = "${STAGING_KERNEL_DIR}" |
55 | # The source should be ready after the do_unpack | ||
56 | do_unpack[depends] += "virtual/kernel:do_populate_sysroot" | ||
57 | |||
55 | B = "${WORKDIR}/${BPN}-${PV}" | 58 | B = "${WORKDIR}/${BPN}-${PV}" |
56 | 59 | ||
57 | SCRIPTING_DEFINES = "${@perf_feature_enabled('perf-scripting', '', 'NO_LIBPERL=1 NO_LIBPYTHON=1',d)}" | 60 | SCRIPTING_DEFINES = "${@perf_feature_enabled('perf-scripting', '', 'NO_LIBPERL=1 NO_LIBPYTHON=1',d)}" |