summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini2020-08-04 18:14:26 +0200
committerPaolo Bonzini2020-08-21 12:30:43 +0200
commit859aef026e51a4959d1ab535f0b7a00d63ed32ba (patch)
treea9536bef7890ad961b76072cd4a9d87bcd371775 /Makefile
parentrules.mak: drop unneeded macros (diff)
downloadqemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.tar.gz
qemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.tar.xz
qemu-859aef026e51a4959d1ab535f0b7a00d63ed32ba.zip
meson: replace create-config with meson configure_file
Move the create-config logic to meson.build; create a configuration_data object and let meson handle the quoting and output. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index f33ec16a81..aa582d6554 100644
--- a/Makefile
+++ b/Makefile
@@ -143,6 +143,7 @@ endif
include $(SRC_PATH)/tests/Makefile.include
all: recurse-all
+Makefile: $(addsuffix /all, $(SUBDIRS))
# LIBFDT_lib="": avoid breaking existing trees with objects requiring -fPIC
DTC_MAKE_ARGS=-I$(SRC_PATH)/dtc VPATH=$(SRC_PATH)/dtc -C dtc V="$(V)" LIBFDT_lib=""
@@ -206,7 +207,7 @@ clean: recurse-clean ninja-clean clean-ctlist
rm -f fsdev/*.pod scsi/*.pod
rm -f $(foreach f,$(generated-files-y),$(f) $(f)-timestamp)
-VERSION ?= $(shell cat VERSION)
+VERSION = $(shell cat $(SRC_PATH)/VERSION)
dist: qemu-$(VERSION).tar.bz2