Skip to content

Commit 8ea7543

Browse files
stsquadphilmd
authored andcommitted
hw/tricore: fix inclusion of tricore_testboard
Because commit f4063f9 ("meson: Introduce target-specific Kconfig") ended being merged after commit 582079c ("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: f4063f9 ("meson: Introduce target-specific Kconfig") Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Reviewed-by: Peter Maydell <[email protected]> Reviewed-by: Richard Henderson <[email protected]> Signed-off-by: Alex Bennée <[email protected]> Message-Id: <[email protected]> [PMD: Updated description mentioning commits merged] Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
1 parent d1751d8 commit 8ea7543

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
CONFIG_TRICORE_TESTBOARD=y
12
CONFIG_TRIBOARD=y

hw/tricore/Kconfig

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1-
config TRICORE
1+
config TRICORE_TESTBOARD
22
bool
33

44
config TRIBOARD
55
bool
6-
select TRICORE
76
select TC27X_SOC
87

98
config TC27X_SOC

hw/tricore/meson.build

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
tricore_ss = ss.source_set()
2-
tricore_ss.add(when: 'CONFIG_TRICORE', if_true: files('tricore_testboard.c'))
3-
tricore_ss.add(when: 'CONFIG_TRICORE', if_true: files('tricore_testdevice.c'))
2+
tricore_ss.add(when: 'CONFIG_TRICORE_TESTBOARD', if_true: files('tricore_testboard.c'))
3+
tricore_ss.add(when: 'CONFIG_TRICORE_TESTBOARD', if_true: files('tricore_testdevice.c'))
44
tricore_ss.add(when: 'CONFIG_TRIBOARD', if_true: files('triboard.c'))
55
tricore_ss.add(when: 'CONFIG_TC27X_SOC', if_true: files('tc27x_soc.c'))
66

0 commit comments

Comments
 (0)