mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 03:41:01 +00:00
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. Backports commit 9c79024225af6b3ae04ea2dd94a5e5c4132a9e65 from qemu
This commit is contained in:
parent
7107f72cc6
commit
73176e89ce
3
qemu/configure
vendored
3
qemu/configure
vendored
|
@ -576,6 +576,9 @@ for opt do
|
|||
esac
|
||||
done
|
||||
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue