]> git.proxmox.com Git - mirror_qemu.git/commitdiff
hw/tricore: fix inclusion of tricore_testboard
authorAlex Bennée <alex.bennee@linaro.org>
Tue, 20 Jul 2021 11:40:55 +0000 (12:40 +0100)
committerPhilippe Mathieu-Daudé <philmd@redhat.com>
Tue, 20 Jul 2021 18:10:21 +0000 (20:10 +0200)
Because commit f4063f9c319e39 ("meson: Introduce target-specific
Kconfig") ended being merged after commit 582079c9d27fc8cfff9f49
("hw/tricore: Add testdevice for tests in tests/tcg/"), we
inadvertently added a symbol clash causing the build not to include
the testboard needed for check-tcg.

Fixes: f4063f9c31 ("meson: Introduce target-specific Kconfig")
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210720114057.32053-2-alex.bennee@linaro.org>
[PMD: Updated description mentioning commits merged]
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
configs/devices/tricore-softmmu/default.mak
hw/tricore/Kconfig
hw/tricore/meson.build

index 5cc91cebce79a3d004ac7e5cee34b82c87882c10..cb8fc286eb235a0b5ac983b9018863edac8a7985 100644 (file)
@@ -1 +1,2 @@
+CONFIG_TRICORE_TESTBOARD=y
 CONFIG_TRIBOARD=y
index 506e6183c17023140bd1ec30ef85482b4da88039..33c1e852c33c15e5111dfa4ff1f43b957e7e4ac9 100644 (file)
@@ -1,9 +1,8 @@
-config TRICORE
+config TRICORE_TESTBOARD
     bool
 
 config TRIBOARD
     bool
-    select TRICORE
     select TC27X_SOC
 
 config TC27X_SOC
index 47e36bb07783feeaa77ce15fca5fe82e0503f796..7e3585daf8f6005091c3e515a7c110b84be8d764 100644 (file)
@@ -1,6 +1,6 @@
 tricore_ss = ss.source_set()
-tricore_ss.add(when: 'CONFIG_TRICORE', if_true: files('tricore_testboard.c'))
-tricore_ss.add(when: 'CONFIG_TRICORE', if_true: files('tricore_testdevice.c'))
+tricore_ss.add(when: 'CONFIG_TRICORE_TESTBOARD', if_true: files('tricore_testboard.c'))
+tricore_ss.add(when: 'CONFIG_TRICORE_TESTBOARD', if_true: files('tricore_testdevice.c'))
 tricore_ss.add(when: 'CONFIG_TRIBOARD', if_true: files('triboard.c'))
 tricore_ss.add(when: 'CONFIG_TC27X_SOC', if_true: files('tc27x_soc.c'))