From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex =?utf-8?Q?Benn=C3=A9e?= Subject: Re: [RFC kvm-unit-tests PATCH 5/8] Makefile: add explicit mkdir for .o targets Date: Fri, 12 May 2017 12:14:49 +0100 Message-ID: <87k25m4992.fsf@linaro.org> References: <20170406190727.5624-1-alex.bennee@linaro.org> <20170406190727.5624-6-alex.bennee@linaro.org> <87mvaj4din.fsf@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: drjones@redhat.com, kvm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, christoffer.dall@linaro.org, marc.zyngier@arm.com To: Paolo Bonzini Return-path: Received: from mail-wr0-f174.google.com ([209.85.128.174]:34894 "EHLO mail-wr0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755905AbdELLOC (ORCPT ); Fri, 12 May 2017 07:14:02 -0400 Received: by mail-wr0-f174.google.com with SMTP id z52so42186997wrc.2 for ; Fri, 12 May 2017 04:14:01 -0700 (PDT) In-reply-to: Sender: kvm-owner@vger.kernel.org List-ID: Paolo Bonzini 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: alex.bennee@linaro.org (Alex =?utf-8?Q?Benn=C3=A9e?=) Date: Fri, 12 May 2017 12:14:49 +0100 Subject: [RFC kvm-unit-tests PATCH 5/8] Makefile: add explicit mkdir for .o targets In-Reply-To: References: <20170406190727.5624-1-alex.bennee@linaro.org> <20170406190727.5624-6-alex.bennee@linaro.org> <87mvaj4din.fsf@linaro.org> Message-ID: <87k25m4992.fsf@linaro.org> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Paolo Bonzini 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