[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 067/150] configure, Makefile; remove TOOLS and HELPERS-y variable
From: |
Paolo Bonzini |
Subject: |
[PATCH 067/150] configure, Makefile; remove TOOLS and HELPERS-y variable |
Date: |
Fri, 14 Aug 2020 05:12:03 -0400 |
Everything involving tools is now done by meson.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
Makefile | 22 ++--------------------
configure | 7 -------
2 files changed, 2 insertions(+), 27 deletions(-)
diff --git a/Makefile b/Makefile
index 414c631aee..4ce2f4b2de 100644
--- a/Makefile
+++ b/Makefile
@@ -129,8 +129,6 @@ $(call set-vpath, $(SRC_PATH))
LIBS+=-lz $(LIBS_TOOLS)
-HELPERS-y =
-
# Sphinx does not allow building manuals into the same directory as
# the source files, so if we're doing an in-tree QEMU build we must
# build the manuals into a subdirectory (and then install them from
@@ -179,7 +177,7 @@ dummy := $(call unnest-vars,, \
include $(SRC_PATH)/tests/Makefile.include
-all: $(DOCS) $(if $(BUILD_DOCS),sphinxdocs) $(TOOLS) $(HELPERS-y) recurse-all
modules
+all: $(DOCS) $(if $(BUILD_DOCS),sphinxdocs) recurse-all modules
config-host.h: config-host.h-timestamp
config-host.h-timestamp: config-host.mak
@@ -291,7 +289,7 @@ clean: recurse-clean ninja-clean clean-ctlist
! -path ./roms/edk2/ArmPkg/Library/GccLto/liblto-arm.a \
! -path ./roms/edk2/BaseTools/Source/Python/UPT/Dll/sqlite3.dll
\
-exec rm {} +
- rm -f $(filter-out %.tlb,$(TOOLS)) $(HELPERS-y) TAGS cscope.* *.pod *~
*/*~
+ rm -f TAGS cscope.* *.pod *~ */*~
rm -f fsdev/*.pod scsi/*.pod
rm -f $(foreach f,$(generated-files-y),$(f) $(f)-timestamp)
@@ -443,12 +441,6 @@ export DESTDIR
install: all $(if $(BUILD_DOCS),install-doc) \
install-datadir install-localstatedir install-includedir \
recurse-install
-ifneq ($(TOOLS),)
- $(call install-prog,$(TOOLS),$(DESTDIR)$(bindir))
-endif
-ifneq ($(HELPERS-y),)
- $(call install-prog,$(HELPERS-y),$(DESTDIR)$(libexecdir))
-endif
ifdef CONFIG_TRACE_SYSTEMTAP
$(INSTALL_PROG) "scripts/qemu-trace-stap" $(DESTDIR)$(bindir)
endif
@@ -708,16 +700,6 @@ endif
$(call print-help-run,$(t)/fuzz,Build fuzzer
for $(t)); \
))) \
echo '')
- @$(if $(HELPERS-y), \
- echo 'Helper targets:'; \
- $(foreach t, $(HELPERS-y), \
- $(call print-help-run,$(t),Build $(shell basename $(t)));) \
- echo '')
- @$(if $(TOOLS), \
- echo 'Tools targets:'; \
- $(foreach t, $(TOOLS), \
- $(call print-help-run,$(t),Build $(shell basename $(t)) tool);)
\
- echo '')
@echo 'Cleaning targets:'
$(call print-help,clean,Remove most generated files but keep the config)
$(call print-help,distclean,Remove all generated files)
diff --git a/configure b/configure
index 1dd0c693f3..8a3c7aab4b 100755
--- a/configure
+++ b/configure
@@ -6667,12 +6667,6 @@ if [ "$eventfd" = "yes" ]; then
ivshmem=yes
fi
-tools=""
-if test "$want_tools" = "yes" ; then
- if [ "$linux" = "yes" -o "$bsd" = "yes" -o "$solaris" = "yes" ] ; then
- tools="qemu-storage-daemon\$(EXESUF) $tools"
- fi
-fi
if test "$softmmu" = yes ; then
if test "$linux" = yes; then
if test "$virtfs" != no && test "$cap_ng" = yes && test "$attr" = yes ;
then
@@ -7768,7 +7762,6 @@ else
QEMU_INCLUDES="-iquote ${source_path}/tcg/${ARCH} $QEMU_INCLUDES"
fi
-echo "TOOLS=$tools" >> $config_host_mak
echo "ROMS=$roms" >> $config_host_mak
echo "MAKE=$make" >> $config_host_mak
echo "INSTALL=$install" >> $config_host_mak
--
2.26.2
- [PATCH 056/150] meson: convert qom directory to Meson (tools part), (continued)
- [PATCH 056/150] meson: convert qom directory to Meson (tools part), Paolo Bonzini, 2020/08/14
- [PATCH 060/150] meson: convert target/s390x/gen-features.h, Paolo Bonzini, 2020/08/14
- [PATCH 063/150] meson: convert chardev directory to Meson (tools part), Paolo Bonzini, 2020/08/14
- [PATCH 065/150] meson: qemu-{img,io,nbd}, Paolo Bonzini, 2020/08/14
- [PATCH 061/150] meson: infrastructure for building emulators, Paolo Bonzini, 2020/08/14
- [PATCH 062/150] meson: add modules infrastructure, Paolo Bonzini, 2020/08/14
- [PATCH 068/150] meson: convert chardev directory to Meson (emulator part), Paolo Bonzini, 2020/08/14
- [PATCH 069/150] meson: convert tests/qtest to meson, Paolo Bonzini, 2020/08/14
- [PATCH 066/150] meson: qemu-pr-helper, Paolo Bonzini, 2020/08/14
- [PATCH 064/150] meson: convert block, Paolo Bonzini, 2020/08/14
- [PATCH 067/150] configure, Makefile; remove TOOLS and HELPERS-y variable,
Paolo Bonzini <=
- [PATCH 072/150] meson: convert root directory to Meson, Paolo Bonzini, 2020/08/14
- [PATCH 076/150] meson: convert common QMP bits for qemu and qemu-storage-daemon, Paolo Bonzini, 2020/08/14
- [PATCH 075/150] meson: convert dump/, Paolo Bonzini, 2020/08/14
- [PATCH 073/150] meson: convert most of softmmu/, Paolo Bonzini, 2020/08/14
- [PATCH 079/150] meson: convert migration directory to Meson, Paolo Bonzini, 2020/08/14
- [PATCH 078/150] meson: convert replay directory to Meson, Paolo Bonzini, 2020/08/14
- [PATCH 070/150] meson: convert audio directory to Meson, Paolo Bonzini, 2020/08/14
- [PATCH 077/150] meson: convert qemu-storage-daemon, Paolo Bonzini, 2020/08/14
- [PATCH 074/150] meson: convert trace/, Paolo Bonzini, 2020/08/14
- [PATCH 071/150] meson: convert ui directory to Meson, Paolo Bonzini, 2020/08/14