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>
This commit is contained in:
Kai Kang 2014-11-10 10:22:05 +08:00 committed by Richard Purdie
parent 5c23ec681c
commit 35c2ff702e
1 changed files with 0 additions and 8 deletions

View File

@ -13,14 +13,6 @@ SRC_URI[sha256sum] = "fd10f5e45cf5a736fa5a3e1c279ae9821534e700beb7d1aab88a07648a
COMPATIBLE_HOST_class-target_mips64 = "null"
do_sanitize_sources() {
# These .git files point to a nonexistent path "../.git/modules" and will confuse git
# if it tries to recurse into those directories.
rm -f ${S}/dtc/.git ${S}/pixman/.git
}
addtask sanitize_sources after do_unpack before do_patch
do_install_append() {
# Prevent QA warnings about installed ${localstatedir}/run
if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi