From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:45473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZLMi-0005cs-GX for qemu-devel@nongnu.org; Fri, 16 Nov 2012 07:49:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZLMf-0001km-EL for qemu-devel@nongnu.org; Fri, 16 Nov 2012 07:49:48 -0500 Received: from mx1.redhat.com ([209.132.183.28]:38813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZLMf-0001k4-6o for qemu-devel@nongnu.org; Fri, 16 Nov 2012 07:49:45 -0500 Message-ID: <50A63647.20509@redhat.com> Date: Fri, 16 Nov 2012 13:49:11 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <1353060737-4244-1-git-send-email-xiawenc@linux.vnet.ibm.com> <1353060737-4244-3-git-send-email-xiawenc@linux.vnet.ibm.com> <50A615E8.8030106@linux.vnet.ibm.com> <50A61BC0.5070903@redhat.com> <50A61D02.70007@linux.vnet.ibm.com> <50A620A0.2020102@redhat.com> <50A63429.2010607@linux.vnet.ibm.com> In-Reply-To: <50A63429.2010607@linux.vnet.ibm.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH V9 2/8] Buildsystem clean tests directory clearly List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wenchao Xia Cc: kwolf@redhat.com, Peter Maydell , aliguori@us.ibm.com, stefanha@gmail.com, qemu-devel@nongnu.org, blauwirbel@gmail.com Il 16/11/2012 13:40, Wenchao Xia ha scritto: > I guess "make distclean" for second time would fail in this case, > because $(SRC_PATH) is not set. I found a better way to do it without > MAKEFILES: > > -ifneq ($(wildcard config-host.mak),) > - include $(SRC_PATH)/tests/Makefile > + include tests/Makefile > -endif > > due to tests/Makefile is added in configure in this patch so it is > always soft linked then include always succeed. Whatever, this seems to be ok. Please post the complete patch so we can review it. Paolo