diff options
author | Koen Kooi <koen.kooi@linaro.org> | 2015-01-21 10:07:35 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-01-29 15:36:51 +0000 |
commit | 609898aab956c60522de6765075ea6e8dc65f039 (patch) | |
tree | dbd48508b963f0dd5d33be7060612f553ac1df0a /meta | |
parent | 86c77aca5b99208ec1ab13428f9824089d566197 (diff) | |
download | poky-609898aab956c60522de6765075ea6e8dc65f039.tar.gz |
linux-dummy: provide empty shared_workdir method
Perf.bb (among others) requires access to the kernel source, so have linux-dummy fake that as well. As before, perf will fail to build, but there are use cases where this patch is needed. For example a perf.bbappend that will always build it from the debian linux-tools tarball.
Using linux-dummy is still a bad, bad idea, but it shouldn't start breaking existing use cases.
(From OE-Core rev: 56142f002046d319a2cdc326ea8f8c0892f3061f)
Signed-off-by: Koen Kooi <koen.kooi@linaro.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-kernel/linux/linux-dummy.bb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-kernel/linux/linux-dummy.bb b/meta/recipes-kernel/linux/linux-dummy.bb index 8f25f17e6f..cc0e4e64a9 100644 --- a/meta/recipes-kernel/linux/linux-dummy.bb +++ b/meta/recipes-kernel/linux/linux-dummy.bb | |||
@@ -33,6 +33,10 @@ do_compile () { | |||
33 | : | 33 | : |
34 | } | 34 | } |
35 | 35 | ||
36 | do_shared_workdir () { | ||
37 | : | ||
38 | } | ||
39 | |||
36 | do_install() { | 40 | do_install() { |
37 | : | 41 | : |
38 | } | 42 | } |
@@ -47,4 +51,4 @@ do_deploy() { | |||
47 | 51 | ||
48 | addtask bundle_initramfs after do_install before do_deploy | 52 | addtask bundle_initramfs after do_install before do_deploy |
49 | addtask deploy after do_install | 53 | addtask deploy after do_install |
50 | 54 | addtask shared_workdir after do_compile before do_install | |