[RFC kvm-unit-tests PATCH 5/8] Makefile: add explicit mkdir for .o targets

Paolo Bonzini pbonzini at redhat.com
Fri May 12 03:36:32 PDT 2017



On 11/05/2017 17:30, Alex Bennée wrote:
>>>
>>>  %.o: %.S
>>> +	mkdir -p $(dir $@)
>> Should this use @ for cleanliness?
> > I'm not sure I follow. Did you mean use $(@D) directly?

That too, but I was thinking of using "@mkdir" to avoid spamming the
output with mkdir commands.

Paolo



More information about the linux-arm-kernel mailing list