[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 13/25] tests/tcg: remove CONFIG_LINUX_USER from config-target.
From: |
Alex Bennée |
Subject: |
[PATCH v1 13/25] tests/tcg: remove CONFIG_LINUX_USER from config-target.mak |
Date: |
Tue, 19 Apr 2022 10:10:08 +0100 |
From: Paolo Bonzini <pbonzini@redhat.com>
Just check the target name instead.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220401141326.1244422-11-pbonzini@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
tests/tcg/configure.sh | 2 --
tests/tcg/multiarch/Makefile.target | 2 +-
tests/tcg/x86_64/Makefile.target | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/tests/tcg/configure.sh b/tests/tcg/configure.sh
index 8927a2b260..57026b5899 100755
--- a/tests/tcg/configure.sh
+++ b/tests/tcg/configure.sh
@@ -227,12 +227,10 @@ for target in $target_list; do
case $target in
*-linux-user)
echo "CONFIG_USER_ONLY=y" >> $config_target_mak
- echo "CONFIG_LINUX_USER=y" >> $config_target_mak
echo "QEMU=$PWD/qemu-$arch" >> $config_target_mak
;;
*-bsd-user)
echo "CONFIG_USER_ONLY=y" >> $config_target_mak
- echo "CONFIG_BSD_USER=y" >> $config_target_mak
echo "QEMU=$PWD/qemu-$arch" >> $config_target_mak
;;
*-softmmu)
diff --git a/tests/tcg/multiarch/Makefile.target
b/tests/tcg/multiarch/Makefile.target
index dec401e67f..6bba523729 100644
--- a/tests/tcg/multiarch/Makefile.target
+++ b/tests/tcg/multiarch/Makefile.target
@@ -10,7 +10,7 @@ MULTIARCH_SRC=$(SRC_PATH)/tests/tcg/multiarch
# Set search path for all sources
VPATH += $(MULTIARCH_SRC)
MULTIARCH_SRCS = $(notdir $(wildcard $(MULTIARCH_SRC)/*.c))
-ifneq ($(CONFIG_LINUX_USER),)
+ifeq ($(filter %-linux-user, $(TARGET)),$(TARGET))
VPATH += $(MULTIARCH_SRC)/linux
MULTIARCH_SRCS += $(notdir $(wildcard $(MULTIARCH_SRC)/linux/*.c))
endif
diff --git a/tests/tcg/x86_64/Makefile.target b/tests/tcg/x86_64/Makefile.target
index 17cf168f0a..f9fcd31caf 100644
--- a/tests/tcg/x86_64/Makefile.target
+++ b/tests/tcg/x86_64/Makefile.target
@@ -8,7 +8,7 @@
include $(SRC_PATH)/tests/tcg/i386/Makefile.target
-ifneq ($(CONFIG_LINUX_USER),)
+ifeq ($(filter %-linux-user, $(TARGET)),$(TARGET))
X86_64_TESTS += vsyscall
TESTS=$(MULTIARCH_TESTS) $(X86_64_TESTS) test-x86_64
else
--
2.30.2
- [PATCH v1 02/25] docs/devel: add some notes on the binfmt-image-debian targets, (continued)
- [PATCH v1 02/25] docs/devel: add some notes on the binfmt-image-debian targets, Alex Bennée, 2022/04/19
- [PATCH v1 04/25] tests/docker: remove dead code for linux-user containers, Alex Bennée, 2022/04/19
- [PATCH v1 03/25] docs/devel: drop :hidden: and :includehidden: tags, Alex Bennée, 2022/04/19
- [PATCH v1 10/25] tests/docker: simplify docker-TEST@IMAGE targets, Alex Bennée, 2022/04/19
- [PATCH v1 06/25] tests/docker: remove dead variable, Alex Bennée, 2022/04/19
- [PATCH v1 13/25] tests/tcg: remove CONFIG_LINUX_USER from config-target.mak,
Alex Bennée <=
- [PATCH v1 05/25] tests/docker: remove test targets, Alex Bennée, 2022/04/19
- [PATCH v1 07/25] tests/docker: remove unnecessary default definitions, Alex Bennée, 2022/04/19
- [PATCH v1 11/25] tests/docker: do not duplicate rules for hexagon-cross, Alex Bennée, 2022/04/19
- [PATCH v1 09/25] tests/docker: remove unnecessary filtering of $(DOCKER_IMAGES), Alex Bennée, 2022/04/19
- [PATCH v1 14/25] tests/tcg: remove CONFIG_USER_ONLY from config-target.mak, Alex Bennée, 2022/04/19