[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] Makefile: remove *.lo files when make clean
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH] Makefile: remove *.lo files when make clean |
Date: |
Fri, 25 Jan 2013 10:10:22 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
Il 25/01/2013 06:25, liguang ha scritto:
> remove *.lo files, they will bring errors during
> build after a make clean, e.g.
> make clean
> make
> lt LINK libcacard.la
> gcc: stubs/.libs/arch-query-cpu-def.o: No such file or directory
> gcc: stubs/.libs/clock-warp.o: No such file or directory
> gcc: stubs/.libs/cpu-get-clock.o: No such file or directory
>
> Signed-off-by: liguang <address@hidden>
> ---
> Makefile | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 73adf42..5d64b58 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -215,7 +215,8 @@ clean:
> rm -f config.mak op-i386.h opc-i386.h gen-op-i386.h op-arm.h opc-arm.h
> gen-op-arm.h
> rm -f qemu-options.def
> find . -name '*.[od]' -type f -exec rm -f {} +
> - rm -f *.a *.lo $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~
> + find . -name '*.lo' -type f -exec rm -f {} +
> + rm -f *.a $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~ */*~
> rm -f *.la
> rm -Rf .libs
> rm -f qemu-img-cmds.h
>
See the similar patch at
http://permalink.gmane.org/gmane.comp.emulators.qemu/188686
Paolo