From fdb75aeff7c212e1afaaa3a43c36a0985fdc1e44 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 21 Sep 2020 04:37:49 -0400 Subject: configure: remove target configuration The config-target.mak files are small constant, we can therefore just write them down explicitly. This removes a pretty large part of the configure script, including the whole logic to detect which accelerators are supported by each target. Signed-off-by: Paolo Bonzini --- default-configs/targets/mipsel-softmmu.mak | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 default-configs/targets/mipsel-softmmu.mak (limited to 'default-configs/targets/mipsel-softmmu.mak') diff --git a/default-configs/targets/mipsel-softmmu.mak b/default-configs/targets/mipsel-softmmu.mak new file mode 100644 index 0000000000..ca95b39d29 --- /dev/null +++ b/default-configs/targets/mipsel-softmmu.mak @@ -0,0 +1,4 @@ +TARGET_MIPS=y +TARGET_BASE_ARCH=mips +TARGET_ALIGNED_ONLY=y +TARGET_SUPPORTS_MTTCG=y -- cgit v1.2.3 From a9a74907863ed02a18b7bc27b21a60a82914ab3f Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 21 Sep 2020 05:11:01 -0400 Subject: default-configs: use TARGET_ARCH key Replace the individual TARGET_*=y lines with TARGET_ARCH, similar to how TARGET_BASE_ARCH is handled already. Signed-off-by: Paolo Bonzini --- default-configs/targets/mipsel-softmmu.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'default-configs/targets/mipsel-softmmu.mak') diff --git a/default-configs/targets/mipsel-softmmu.mak b/default-configs/targets/mipsel-softmmu.mak index ca95b39d29..a9fc3b2647 100644 --- a/default-configs/targets/mipsel-softmmu.mak +++ b/default-configs/targets/mipsel-softmmu.mak @@ -1,4 +1,4 @@ -TARGET_MIPS=y +TARGET_ARCH=mips TARGET_BASE_ARCH=mips TARGET_ALIGNED_ONLY=y TARGET_SUPPORTS_MTTCG=y -- cgit v1.2.3 From fa73168b08f37c8e5f2a7180b139808846d36d40 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Mon, 21 Sep 2020 05:19:07 -0400 Subject: default-configs: remove redundant keys TARGET_BASE_ARCH and TARGET_ABI_DIR are 99% of the time the same as TARGET_ARCH, remove them if so. Signed-off-by: Paolo Bonzini --- default-configs/targets/mipsel-softmmu.mak | 1 - 1 file changed, 1 deletion(-) (limited to 'default-configs/targets/mipsel-softmmu.mak') diff --git a/default-configs/targets/mipsel-softmmu.mak b/default-configs/targets/mipsel-softmmu.mak index a9fc3b2647..c7c41f4fb7 100644 --- a/default-configs/targets/mipsel-softmmu.mak +++ b/default-configs/targets/mipsel-softmmu.mak @@ -1,4 +1,3 @@ TARGET_ARCH=mips -TARGET_BASE_ARCH=mips TARGET_ALIGNED_ONLY=y TARGET_SUPPORTS_MTTCG=y -- cgit v1.2.3