From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ75I-0008Gl-Ie for qemu-devel@nongnu.org; Thu, 27 Feb 2014 14:57:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJ75C-0006Be-K2 for qemu-devel@nongnu.org; Thu, 27 Feb 2014 14:57:32 -0500 Received: from v220110690675601.yourvserver.net ([37.221.199.173]:44416) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ75C-0006BZ-Dv for qemu-devel@nongnu.org; Thu, 27 Feb 2014 14:57:26 -0500 Message-ID: <530F98A2.8040600@weilnetz.de> Date: Thu, 27 Feb 2014 20:57:22 +0100 From: Stefan Weil MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] git build from clean broken? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , QEMU Developers Cc: Paolo Bonzini , Fam Zheng Am 27.02.2014 20:38, schrieb Peter Maydell: > $ git clone git://git.qemu.org/qemu.git > [...] > $ cd qemu > $ mkdir build/a64-targets-nodbg/ && (cd build/a64-targets-nodbg/ && > '../../configure' > '--target-list=aarch64-softmmu,arm-softmmu,aarch64-linux-user,arm-linux-user' > '--cc=ccache gcc' '--disable-tools') && make -C > build/a64-targets-nodbg/ > [...] > make[1]: *** No rule to make target `../async.o', needed by > `qemu-system-aarch64'. Stop. > > Make seems to be able to build these files in its top level > build directory: > > make -C build/a64-targets-nodbg async.o > > but it can't build them on-demand when the targets in the > per-target subdirectories reference them via ../object-file.o > > git bisect blames this commit: > commit ba1183da9a10b94611cad88c44a5c6df005f9b55 > Author: Fam Zheng > Date: Mon Feb 10 14:48:52 2014 +0800 > > rules.mak: fix $(obj) to a real relative path > > Any ideas? > > thanks > -- PMM > Yes. I saw that problem, too. This patch for Makefile fixed it for me: index ccab967,a28a3c8..8ec3a99 @@@ -170,6 -159,6 +170,7 @@@ qemu-options.def: $(SRC_PATH)/qemu-opti SUBDIR_RULES=$(patsubst %,subdir-%, $(TARGET_DIRS)) SOFTMMU_SUBDIR_RULES=$(filter %-softmmu,$(SUBDIR_RULES)) ++$(SOFTMMU_SUBDIR_RULES): $(block-obj-y) $(SOFTMMU_SUBDIR_RULES): config-all-devices.mak subdir-%: Regards Stefan W.