From e972e593c68a096f175ccc7f59afa8d426a3ad6f Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 8 Aug 2019 17:21:09 -0400 Subject: [PATCH] Makefile: Remove code to smooth transition to config.status When commit bdf523e6923 made configure generate config.status, it added a fallback to Makefile to smooth the transition, with a TODO "code can be removed after QEMU 1.7." It's been more than five years. Remove it. Backports commit cdb69b08f984b7cca2acb1989c8eae79390a23f3 from qemu --- qemu/Makefile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/qemu/Makefile b/qemu/Makefile index 5dcaa9bc..93566af2 100644 --- a/qemu/Makefile +++ b/qemu/Makefile @@ -30,14 +30,7 @@ CONFIG_ALL=y config-host.mak: $(SRC_PATH)/configure @echo $@ is out-of-date, running configure - @# TODO: The next lines include code which supports a smooth - @# transition from old configurations without config.status. - @# This code can be removed after QEMU 1.7. - @if test -x config.status; then \ - ./config.status; \ - else \ - sed -n "/.*Configured with/s/[^:]*: //p" $@ | sh; \ - fi + @./config.status else config-host.mak: ifneq ($(filter-out %clean,$(MAKECMDGOALS)),$(if $(MAKECMDGOALS),,fail))