[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-trivial] [Qemu-devel] [PATCH] Makefile: Avoid explicit list of

From: Peter Maydell
Subject: Re: [Qemu-trivial] [Qemu-devel] [PATCH] Makefile: Avoid explicit list of directories in clean target
Date: Tue, 31 Jul 2012 16:00:01 +0100

On 31 July 2012 15:38, Daniel P. Berrange <address@hidden> wrote:
> Isn't using 'find' somewhat overkill here really. QEMU only creates
> .o and .d files in 2 levels of directory, so sure we can just avoid
> find entirely
>   rm -f *.[od] */*.[od]

That's exactly the bug this change is addressing (in a more
general way than a couple of the proposed point fixes). There
are subdirectories of hw/, so for instance we have a hw/usb/bus.o
which your rm would not delete.

-- PMM

reply via email to

[Prev in Thread] Current Thread [Next in Thread]