hw/tricore: fix inclusion of tricore_testboard
Because commitf4063f9c31
("meson: Introduce target-specific Kconfig") ended being merged after commit582079c9d2
("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>
This commit is contained in:
parent
d1751d8b5d
commit
8ea7543865
@ -1 +1,2 @@
|
|||||||
|
CONFIG_TRICORE_TESTBOARD=y
|
||||||
CONFIG_TRIBOARD=y
|
CONFIG_TRIBOARD=y
|
||||||
|
@ -1,9 +1,8 @@
|
|||||||
config TRICORE
|
config TRICORE_TESTBOARD
|
||||||
bool
|
bool
|
||||||
|
|
||||||
config TRIBOARD
|
config TRIBOARD
|
||||||
bool
|
bool
|
||||||
select TRICORE
|
|
||||||
select TC27X_SOC
|
select TC27X_SOC
|
||||||
|
|
||||||
config TC27X_SOC
|
config TC27X_SOC
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
tricore_ss = ss.source_set()
|
tricore_ss = ss.source_set()
|
||||||
tricore_ss.add(when: 'CONFIG_TRICORE', if_true: files('tricore_testboard.c'))
|
tricore_ss.add(when: 'CONFIG_TRICORE_TESTBOARD', 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_testdevice.c'))
|
||||||
tricore_ss.add(when: 'CONFIG_TRIBOARD', if_true: files('triboard.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'))
|
tricore_ss.add(when: 'CONFIG_TC27X_SOC', if_true: files('tc27x_soc.c'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user