On Tue, Jul 31, 2012 at 08:24:58AM -0600, Eric Blake wrote:
> On 07/31/2012 08:19 AM, Markus Armbruster wrote:
> > Peter Maydell writes:
> >
> >> Avoid having an explicit list of directories in the 'clean'
> >> target by using 'find' to remove all .o and .d files instead.
> >>
>
> >>rm -f qe
On Tue, Jul 31, 2012 at 4:20 PM, Stefan Weil wrote:
> Am 31.07.2012 17:51, schrieb Peter Maydell:
>>
>> On 31 July 2012 16:49, Stefan Weil wrote:
>>>
>>> Yes, QEMU creates files in 3 levels. We could use
>>>
>>> rm -f *.[od] */*.[od] */*/*.[od]
>>>
>>> I suggest using the wrapper $(call quie
Am 31.07.2012 17:51, schrieb Peter Maydell:
On 31 July 2012 16:49, Stefan Weil wrote:
Yes, QEMU creates files in 3 levels. We could use
rm -f *.[od] */*.[od] */*/*.[od]
I suggest using the wrapper $(call quiet-command,...)
to suppress printing of all removed file names.
My worry was no
On 31 July 2012 16:49, Stefan Weil wrote:
> Yes, QEMU creates files in 3 levels. We could use
>
> rm -f *.[od] */*.[od] */*/*.[od]
>
> I suggest using the wrapper $(call quiet-command,...)
> to suppress printing of all removed file names.
My worry was not so much what we print as that we
migh
Am 31.07.2012 17:00, schrieb Peter Maydell:
On 31 July 2012 15:38, Daniel P. Berrange 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 t
On 31 July 2012 15:38, Daniel P. Berrange 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
gene
On Tue, Jul 31, 2012 at 04:35:42PM +0200, Markus Armbruster wrote:
> Peter Maydell writes:
>
> > On 31 July 2012 15:19, Markus Armbruster wrote:
> >> Peter Maydell writes:
> >>> + find . -name '*.[od]' | xargs rm -f
> >>> + rm -f *.a *.lo $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod
>
Peter Maydell writes:
> On 31 July 2012 15:19, Markus Armbruster wrote:
>> Peter Maydell writes:
>>> + find . -name '*.[od]' | xargs rm -f
>>> + rm -f *.a *.lo $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod
>>> *~ */*~
>>
>> Shit happens if you somehow manage to create a "mean" file name
On 07/31/2012 08:19 AM, Markus Armbruster wrote:
> Peter Maydell writes:
>
>> Avoid having an explicit list of directories in the 'clean'
>> target by using 'find' to remove all .o and .d files instead.
>>
>> rm -f qemu-options.def
>> -rm -f *.o *.d *.a *.lo $(TOOLS) $(HELPERS-y) qemu-g
On 31 July 2012 15:19, Markus Armbruster wrote:
> Peter Maydell writes:
>> + find . -name '*.[od]' | xargs rm -f
>> + rm -f *.a *.lo $(TOOLS) $(HELPERS-y) qemu-ga TAGS cscope.* *.pod *~
>> */*~
>
> Shit happens if you somehow manage to create a "mean" file name in the
> build tree. Sure
Peter Maydell writes:
> Avoid having an explicit list of directories in the 'clean'
> target by using 'find' to remove all .o and .d files instead.
>
> Signed-off-by: Peter Maydell
> ---
> I figured that (unlike Makefile.target) we should probably take
> the xargs route here since otherwise the
On Tue, Jul 31, 2012 at 02:01:35PM +0100, Peter Maydell wrote:
> Avoid having an explicit list of directories in the 'clean'
> target by using 'find' to remove all .o and .d files instead.
>
> Signed-off-by: Peter Maydell
> ---
> I figured that (unlike Makefile.target) we should probably take
> t
Avoid having an explicit list of directories in the 'clean'
target by using 'find' to remove all .o and .d files instead.
Signed-off-by: Peter Maydell
---
I figured that (unlike Makefile.target) we should probably take
the xargs route here since otherwise the rm command line is huge...
There's a
13 matches
Mail list logo