diff options
author | Kai Kang <kai.kang@windriver.com> | 2014-11-10 10:22:05 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-11-12 15:38:31 +0000 |
commit | 35c2ff702e7b4a17f08a3004ea783d405fde0263 (patch) | |
tree | 922a7ddfd9a85c2e3ebed5d6e91d4d5cb5dbacf5 /meta/recipes-devtools/qemu | |
parent | 5c23ec681c162636d68b3665cf6aef3af38ab205 (diff) | |
download | poky-35c2ff702e7b4a17f08a3004ea783d405fde0263.tar.gz |
qemu: remove task sanitize_sources
There is no dtc/.git and pixman/.git files any longer. So remove task
sanitize_sources which is used to remove these files.
(From OE-Core rev: 8d280849b00b1e8ec0de906f6d2ad0b4dc31864a)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/qemu')
-rw-r--r-- | meta/recipes-devtools/qemu/qemu_2.1.2.bb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/recipes-devtools/qemu/qemu_2.1.2.bb b/meta/recipes-devtools/qemu/qemu_2.1.2.bb index 0e20605919..55ae7b60a6 100644 --- a/meta/recipes-devtools/qemu/qemu_2.1.2.bb +++ b/meta/recipes-devtools/qemu/qemu_2.1.2.bb | |||
@@ -13,14 +13,6 @@ SRC_URI[sha256sum] = "fd10f5e45cf5a736fa5a3e1c279ae9821534e700beb7d1aab88a07648a | |||
13 | 13 | ||
14 | COMPATIBLE_HOST_class-target_mips64 = "null" | 14 | COMPATIBLE_HOST_class-target_mips64 = "null" |
15 | 15 | ||
16 | do_sanitize_sources() { | ||
17 | # These .git files point to a nonexistent path "../.git/modules" and will confuse git | ||
18 | # if it tries to recurse into those directories. | ||
19 | rm -f ${S}/dtc/.git ${S}/pixman/.git | ||
20 | } | ||
21 | |||
22 | addtask sanitize_sources after do_unpack before do_patch | ||
23 | |||
24 | do_install_append() { | 16 | do_install_append() { |
25 | # Prevent QA warnings about installed ${localstatedir}/run | 17 | # Prevent QA warnings about installed ${localstatedir}/run |
26 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi | 18 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi |