qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH V14 02/10] build: use check-clean in root Makefi


From: Wenchao Xia
Subject: Re: [Qemu-devel] [PATCH V14 02/10] build: use check-clean in root Makefile
Date: Fri, 25 Jan 2013 10:40:09 +0800
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130107 Thunderbird/17.0.2

于 2013-1-24 16:27, Paolo Bonzini 写道:
Il 24/01/2013 02:51, Wenchao Xia ha scritto:

You can put the dependency in tests/Makefile.

Paolo

   tests/Makefile would not be included, so it will directly fail.
Actually I use this variable as a bridge between root Makefile and
sub Makefile which would be included by root Makefile, just like
$TOOL. In this way root Makefile can stay unchanged when new subdir
is added, subdir's Makefile can add the step if it want been cleaned
automatically when "make clean" is called in root dir.

What I mean is: add

     clean: check-unit

in tests/Makefile.  You don't need a variable as an intermediate step.

Paolo


OK, got your point, will fix.

--
Best Regards

Wenchao Xia




reply via email to

[Prev in Thread] Current Thread [Next in Thread]