From nobody Tue Nov 4 18:50:20 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1530807352923107.69198978348516; Thu, 5 Jul 2018 09:15:52 -0700 (PDT) Received: from localhost ([::1]:53578 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fb6v9-0001jj-Eo for importer@patchew.org; Thu, 05 Jul 2018 12:15:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fb6jH-0008KP-8M for qemu-devel@nongnu.org; Thu, 05 Jul 2018 12:03:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fb6jE-0007vz-O8 for qemu-devel@nongnu.org; Thu, 05 Jul 2018 12:03:35 -0400 Received: from mail-wm0-x234.google.com ([2a00:1450:400c:c09::234]:38656) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fb6jE-0007vL-F7 for qemu-devel@nongnu.org; Thu, 05 Jul 2018 12:03:32 -0400 Received: by mail-wm0-x234.google.com with SMTP id 69-v6so11741927wmf.3 for ; Thu, 05 Jul 2018 09:03:32 -0700 (PDT) Received: from zen.linaro.local ([81.128.185.34]) by smtp.gmail.com with ESMTPSA id y129-v6sm7364561wmy.4.2018.07.05.09.03.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 05 Jul 2018 09:03:29 -0700 (PDT) Received: from zen.linaroharston (localhost [127.0.0.1]) by zen.linaro.local (Postfix) with ESMTP id 6DA6A3E0229; Thu, 5 Jul 2018 17:03:29 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=plFuftdP6AYiHiVrfdUCTmjERHyMul0/JUC9gR2qEnA=; b=R466C+3ytMqdY2pFpOp6rtOeE6sgBy4bcsk12lZ1ftbRi74/BUthOJauahr/4Dtuuc DcHdzzf5YWcTWdyOxlT3ol8C9HCB9/n4U3xC14ox8SAv4DyyagFFexq4akdlvlKwzDXX R9n81SUojkI8vZEVV0vu3qR56LBSF5iBvoumI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=plFuftdP6AYiHiVrfdUCTmjERHyMul0/JUC9gR2qEnA=; b=Y6aaDFbPCaM6jHZIZGOOEYTEWkRl/FEoaFEjreFGR03pkP/qcprbgpj8FTRa7w8enL NUDrI37iN/VtTx/myIne3hfIoRDJSxWvCzVdD+JjTg0bLg6Y6AMJ9OAwWgDquxJgaQrb YlzTlLmDRw8E+kdigJZysEkBDr+GFHWgEgl4q9pFEtGsKnp4tXZO7WXQ3G0uI5sod2Pi wJeZKfj1WJhudCLaTpvkLHAYtmc9tM8n5nudMvSG/Bo4fp/qmvixQywYjYwRl0xLo9Yx 4As6XaVjC5JynDSnpLqceflCL7XbGYMgx0BmdiraEvmwkAV7ytKdX5TqFn4kq7+ijb51 VWxA== X-Gm-Message-State: APt69E0+aDLP+I1TqbBjf7fFZtNjVKgm4Av9KC9aLUi0H1HHw7KfniWS 6cDhXt8a8Sv0BgddwHdu/AV2og== X-Google-Smtp-Source: AAOMgpdTnmi+TTUS6gdLruzpv6incoibHg3mc67iduQHwP/ezbumkA6iAtuxwK3RCI3xyS4AJiYVmA== X-Received: by 2002:a1c:ae8d:: with SMTP id x135-v6mr4361396wme.20.1530806611225; Thu, 05 Jul 2018 09:03:31 -0700 (PDT) From: =?UTF-8?q?Alex=20Benn=C3=A9e?= To: peter.maydell@linaro.org Date: Thu, 5 Jul 2018 17:03:10 +0100 Message-Id: <20180705160329.30386-2-alex.bennee@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180705160329.30386-1-alex.bennee@linaro.org> References: <20180705160329.30386-1-alex.bennee@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::234 Subject: [Qemu-devel] [PULL v3 01/20] Revert "Makefile: Rename TARGET_DIRS to TARGET_LIST" X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Paolo Bonzini , =?UTF-8?q?Alex=20Benn=C3=A9e?= , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 This reverts commit 208ecb3e1acc8d55dab49fdf721a86d513691688. This was causing problems by making DEF_TARGET_LIST pointless and having to jump through hoops to build on mingw with a dully enabled config. This includes a change to fix the per-guest TCG test probe which was added after 208ecb3 and used TARGET_LIST. Signed-off-by: Alex Benn=C3=A9e Cc: Paolo Bonzini diff --git a/Makefile b/Makefile index 7ed9cc4a21..39fd4c0546 100644 --- a/Makefile +++ b/Makefile @@ -60,8 +60,8 @@ seems to have been used for an in-tree build. You can fix= this by running \ endif endif =20 -CONFIG_SOFTMMU :=3D $(if $(filter %-softmmu,$(TARGET_LIST)),y) -CONFIG_USER_ONLY :=3D $(if $(filter %-user,$(TARGET_LIST)),y) +CONFIG_SOFTMMU :=3D $(if $(filter %-softmmu,$(TARGET_DIRS)),y) +CONFIG_USER_ONLY :=3D $(if $(filter %-user,$(TARGET_DIRS)),y) CONFIG_XEN :=3D $(CONFIG_XEN_BACKEND) CONFIG_ALL=3Dy -include config-all-devices.mak @@ -365,8 +365,8 @@ DOCS=3D endif =20 SUBDIR_MAKEFLAGS=3D$(if $(V),,--no-print-directory --quiet) BUILD_DIR=3D$(= BUILD_DIR) -SUBDIR_DEVICES_MAK=3D$(patsubst %, %/config-devices.mak, $(TARGET_LIST)) -SUBDIR_DEVICES_MAK_DEP=3D$(patsubst %, %-config-devices.mak.d, $(TARGET_LI= ST)) +SUBDIR_DEVICES_MAK=3D$(patsubst %, %/config-devices.mak, $(TARGET_DIRS)) +SUBDIR_DEVICES_MAK_DEP=3D$(patsubst %, %-config-devices.mak.d, $(TARGET_DI= RS)) =20 ifeq ($(SUBDIR_DEVICES_MAK),) config-all-devices.mak: @@ -469,7 +469,7 @@ config-host.h-timestamp: config-host.mak qemu-options.def: $(SRC_PATH)/qemu-options.hx $(SRC_PATH)/scripts/hxtool $(call quiet-command,sh $(SRC_PATH)/scripts/hxtool -h < $< > $@,"GEN","$@= ") =20 -SUBDIR_RULES=3D$(patsubst %,subdir-%, $(TARGET_LIST)) +SUBDIR_RULES=3D$(patsubst %,subdir-%, $(TARGET_DIRS)) SOFTMMU_SUBDIR_RULES=3D$(filter %-softmmu,$(SUBDIR_RULES)) =20 $(SOFTMMU_SUBDIR_RULES): $(block-obj-y) @@ -513,7 +513,7 @@ ROMSUBDIR_RULES=3D$(patsubst %,romsubdir-%, $(ROMS)) romsubdir-%: $(call quiet-command,$(MAKE) $(SUBDIR_MAKEFLAGS) -C pc-bios/$* V=3D"$(V)"= TARGET_DIR=3D"$*/" CFLAGS=3D"$(filter -O% -g%,$(CFLAGS))",) =20 -ALL_SUBDIRS=3D$(TARGET_LIST) $(patsubst %,pc-bios/%, $(ROMS)) +ALL_SUBDIRS=3D$(TARGET_DIRS) $(patsubst %,pc-bios/%, $(ROMS)) =20 recurse-all: $(SUBDIR_RULES) $(ROMSUBDIR_RULES) =20 @@ -770,7 +770,7 @@ distclean: clean rm -f docs/interop/qemu-qmp-ref.pdf docs/interop/qemu-ga-ref.pdf rm -f docs/interop/qemu-qmp-ref.html docs/interop/qemu-ga-ref.html rm -f docs/qemu-block-drivers.7 - for d in $(TARGET_LIST); do \ + for d in $(TARGET_DIRS); do \ rm -rf $$d || exit 1 ; \ done rm -Rf .sdk @@ -871,7 +871,7 @@ endif $(INSTALL_DATA) $(SRC_PATH)/pc-bios/keymaps/$$x "$(DESTDIR)$(qemu_datadi= r)/keymaps"; \ done $(INSTALL_DATA) $(BUILD_DIR)/trace-events-all "$(DESTDIR)$(qemu_datadir)/= trace-events-all" - for d in $(TARGET_LIST); do \ + for d in $(TARGET_DIRS); do \ $(MAKE) $(SUBDIR_MAKEFLAGS) TARGET_DIR=3D$$d/ -C $$d $@ || exit 1 ; \ done =20 @@ -1066,9 +1066,9 @@ endif @echo ' ctags/TAGS - Generate tags file for editors' @echo ' cscope - Generate cscope index' @echo '' - @$(if $(TARGET_LIST), \ + @$(if $(TARGET_DIRS), \ echo 'Architecture specific targets:'; \ - $(foreach t, $(TARGET_LIST), \ + $(foreach t, $(TARGET_DIRS), \ printf " %-30s - Build for %s\\n" $(patsubst %,subdir-%,$(t)) $(t);) \ echo '') @echo 'Cleaning targets:' diff --git a/configure b/configure index b99ebdde24..2a7796ea80 100755 --- a/configure +++ b/configure @@ -6212,7 +6212,7 @@ qemu_version=3D$(head $source_path/VERSION) echo "VERSION=3D$qemu_version" >>$config_host_mak echo "PKGVERSION=3D$pkgversion" >>$config_host_mak echo "SRC_PATH=3D$source_path" >> $config_host_mak -echo "TARGET_LIST=3D$target_list" >> $config_host_mak +echo "TARGET_DIRS=3D$target_list" >> $config_host_mak if [ "$docs" =3D "yes" ] ; then echo "BUILD_DOCS=3Dyes" >> $config_host_mak fi diff --git a/scripts/create_config b/scripts/create_config index 58948a67a4..d727e5e36e 100755 --- a/scripts/create_config +++ b/scripts/create_config @@ -107,7 +107,7 @@ case $line in target_name=3D${line#*=3D} echo "#define TARGET_NAME \"$target_name\"" ;; - TARGET_LIST=3D*) + TARGET_DIRS=3D*) # do nothing ;; TARGET_*=3Dy) # configuration diff --git a/tests/Makefile.include b/tests/Makefile.include index 1affc49ca3..0c0f9509f5 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -874,7 +874,7 @@ endif =20 # QTest rules =20 -TARGETS=3D$(patsubst %-softmmu,%, $(filter %-softmmu,$(TARGET_LIST))) +TARGETS=3D$(patsubst %-softmmu,%, $(filter %-softmmu,$(TARGET_DIRS))) ifeq ($(CONFIG_POSIX),y) QTEST_TARGETS =3D $(TARGETS) check-qtest-y=3D$(foreach TARGET,$(TARGETS), $(check-qtest-$(TARGET)-y)) @@ -938,14 +938,14 @@ check-report.html: check-report.xml =20 # Per guest TCG tests =20 -LINUX_USER_TARGETS=3D$(filter %-linux-user,$(TARGET_LIST)) +LINUX_USER_TARGETS=3D$(filter %-linux-user,$(TARGET_DIRS)) BUILD_TCG_TARGET_RULES=3D$(patsubst %,build-tcg-tests-%, $(LINUX_USER_TARG= ETS)) CLEAN_TCG_TARGET_RULES=3D$(patsubst %,clean-tcg-tests-%, $(LINUX_USER_TARG= ETS)) RUN_TCG_TARGET_RULES=3D$(patsubst %,run-tcg-tests-%, $(LINUX_USER_TARGETS)) =20 ifeq ($(HAVE_USER_DOCKER),y) # Probe for the Docker Builds needed for each build -$(foreach PROBE_TARGET,$(TARGET_LIST), \ +$(foreach PROBE_TARGET,$(TARGET_DIRS), \ $(eval -include $(SRC_PATH)/tests/tcg/Makefile.probe) \ $(if $(DOCKER_PREREQ), \ $(eval build-tcg-tests-$(PROBE_TARGET): $(DOCKER_PREREQ)))) --=20 2.17.1