Re: [kvm-unit-tests PATCH 2/2] powerpc/ppc64: Makefile cleanup

Thomas Huth
2016-05-10T09:30:00Z

On 10.05.2016 10:55, Laurent Vivier wrote:
>
>
> On 10/05/2016 10:42, Thomas Huth wrote:
>> On 10.05.2016 09:44, Laurent Vivier wrote:
>>>
> ...
>>> I don't understand why you want to keep intermediate files. If they have
>>> to be kept, they should be primary targets.
>>>
>>> It seems for, at least ppc64, we don't need the .PRECIOUS.
>>
>> They could be useful for debugging purposes, e.g. for running "objdump"
>> on them... ?
>
> You can run objdump on the .elf.

That should work most of the time ... but sometimes it's more convenient
to look at the code in the .o files only, so that you do not have to
struggle with the disassembly code of all other parts as well.

Anyway, I just tried the patch with the .PRECIOUS line disabled, and I
got a very strange behavior: The first time when I run make after a
"make clean", it deletes all *.o files in the powerpc folder. But when I
run "make" again the second time, the *.o files are not deleted anymore!
That's very confusing ... not sure if we want to have that behavior, so
maybe let's better keep that .PRECIOUS line?

Thomas