From: Wei Liu Subject: Re: [PATCH 2/2] tools: provide distclean target for OVMF Date: Mon, 2 Mar 2015 14:31:30 +0000 Message-ID: <20150302143130.GE11855@zion.uk.xensource.com> References: <1425293541-26183-1-git-send-email-wei.liu2@citrix.com> <1425293541-26183-3-git-send-email-wei.liu2@citrix.com> <1425306057.21151.49.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1425306057.21151.49.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: anthony.perard@citrix.com, ian.jackson@eu.citrix.com, Wei Liu , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Mon, Mar 02, 2015 at 02:20:57PM +0000, Ian Campbell wrote: > On Mon, 2015-03-02 at 10:52 +0000, Wei Liu wrote: > > OVMF's distclean target was missed in f9c9b1277 (tools: fix "make > > distclean"). > > tools/firmware/Makefile has: > subdir-distclean-ovmf: .phony > rm -rf ovmf-dir ovmf-dir-remote > > Shouldn't this be avoiding recursing into ovmf-dir in the first place? > > Or is there some other reason to want this? > If you're in firmware directory and do "make distclean", make will recurse into ovmf to do "make distclean". Wei. > > > > Signed-off-by: Wei Liu > > Cc: Anthony Perard > > Cc: Ian Campbell > > Cc: Ian Jackson > > --- > > tools/firmware/ovmf-makefile | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/tools/firmware/ovmf-makefile b/tools/firmware/ovmf-makefile > > index 2838744..c922d4d 100644 > > --- a/tools/firmware/ovmf-makefile > > +++ b/tools/firmware/ovmf-makefile > > @@ -22,3 +22,6 @@ build: > > .PHONY: clean > > clean: > > rm -rf ovmf.bin Build/* > > + > > +.PHONY: distclean > > +distclean: clean >