Received: from eggs.gnu.org ([2001:4830:134:3::10]:49976) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZN2Tk-0002x4-Lr for qemu-devel@nongnu.org; Wed, 05 Aug 2015 13:27:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZN2Th-0005rU-AF for qemu-devel@nongnu.org; Wed, 05 Aug 2015 13:27:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:37516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZN2Th-0005rG-5X for qemu-devel@nongnu.org; Wed, 05 Aug 2015 13:27:45 -0400 Date: Wed, 5 Aug 2015 20:27:04 +0300 From: Victor Kaplansky Message-ID: <1438795570-3930-1-git-send-email-victork@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: [Qemu-devel] [PATCH v2 0/2] make: Cleanup and fix of loading of dependency info List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Eduardo Habkost , "Michael S. Tsirkin" , Stefan Weil , Paolo Bonzini , Richard Henderson Hi, sometimes the make fails when one switches between commits without running "make clean". This is caused by loading old *.d dependency info files and is harmful for autogenerated sources with their own includes. This situation may significantly slow down the process of git bisect. These two patches clean things up and fix the issue both for further versions, and between old and new commits. This also replaces my previous patch "[PATCH] make: explicit dependencies for ACPI gen sources". I've tested the fix by validating that lists included by previous "*.d" approach and new "patsubst" approach are identical. Victor Kaplansky (2): make: fix where dependency *.d are stored. make: load only required dependency files. hw/i386/Makefile.objs | 2 ++ hw/i386/acpi-dsdt.dsl | 1 - hw/i386/q35-acpi-dsdt.dsl | 1 + rules.mak | 4 ++-- 4 files changed, 5 insertions(+), 3 deletions(-) -- --Victor