summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorThomas Huth2019-03-11 11:20:34 +0100
committerThomas Huth2019-05-02 16:56:33 +0200
commit9c79024225af6b3ae04ea2dd94a5e5c4132a9e65 (patch)
treedf9ff9d27832d3ba034fffd0400626ecbdb81aa5 /configure
parentconfigure: Add -Wno-typedef-redefinition to CFLAGS (for Clang) (diff)
downloadqemu-9c79024225af6b3ae04ea2dd94a5e5c4132a9e65.tar.gz
qemu-9c79024225af6b3ae04ea2dd94a5e5c4132a9e65.tar.xz
qemu-9c79024225af6b3ae04ea2dd94a5e5c4132a9e65.zip
configure: Remove old *-config-devices.mak.d files when running configure
When running "make" in a build directory from the pre-Kconfig merge time, the build process currently fails with: make: *** No rule to make target `.../default-configs/pci.mak', needed by `aarch64-softmmu/config-devices.mak'. Stop. To make sure that this problem at least goes away when the user runs "configure" (or "sh config.status") again, we have to make sure that we re-generate the .mak.d files. Thus remove the old stale files while running the configure script. Message-Id: <1552300145-12526-1-git-send-email-thuth@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 362bfef637..f14b25c49c 100755
--- a/configure
+++ b/configure
@@ -1818,6 +1818,9 @@ EOF
exit 0
fi
+# Remove old dependency files to make sure that they get properly regenerated
+rm -f *-config-devices.mak.d
+
if ! has $python; then
error_exit "Python not found. Use --python=/path/to/python"
fi