aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-08-04 18:14:26 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-08-21 06:30:43 -0400
commit859aef026e51a4959d1ab535f0b7a00d63ed32ba (patch)
treea9536bef7890ad961b76072cd4a9d87bcd371775 /Makefile
parent484e2cc730a86f7066b3e29c5bb8440747b61f01 (diff)
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