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

Alex Bennée alex.bennee at linaro.org
Fri May 12 04:14:49 PDT 2017


Paolo Bonzini <pbonzini at redhat.com> writes:

> 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.

Gotcha.

>
> Paolo


--
Alex Bennée



More information about the linux-arm-kernel mailing list