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