tests/tcg: really fix path to target configuration
PATCH 1/1 tests/tcg: really fix path to target configuration
This was attempted in commit 533b0a1a41 ("tests/tcg: Fix target-specific Makefile variables path for user-mode", 2022-01-12) but it also used the wrong path; default.mak is used for config/devices, not config/targets.
While at it, explain what the inclusion is about.
Cc Alex Bennée <[email protected]>
Cc Philippe Mathieu-Daudé <[email protected]>
Signed-off-by Paolo Bonzini <[email protected]>
--- tests/tcg/Makefile.target | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
tests/tcg/Makefile.target +3 -1
@@ -32,8 +32,10 @@ all: -include ../../../config-host.mak -include ../config-$(TARGET).mak + +# Get semihosting definitions for user-mode emulation ifeq ($(CONFIG_USER_ONLY),y) --include $(SRC_PATH)/configs/targets/$(TARGET)/default.mak +-include $(SRC_PATH)/configs/targets/$(TARGET).mak endif # for including , in command strings
Signature · 1 line
2.35.1
Quoted 3 lines · Paolo Bonzini
This was attempted in commit
533b0a1a41("tests/tcg: Fix target-specificMakefilevariables path for user-mode", 2022-01-12) but it also used the wrong path; default.mak is used for config/devices, not config/targets.
I remember having tested this, so maybe I had dirty default.mak files there? Sigh. Anyway:
Reviewed-by Philippe Mathieu-Daudé <[email protected]>
Quoted 25 lines
While at it, explain what the inclusion is about.
Cc Alex Bennée <[email protected]>Cc Philippe Mathieu-Daudé <[email protected]>Signed-off-by Paolo Bonzini <[email protected]>--- tests/tcg/Makefile.target | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)tests/tcg/Makefile.target +3
-1@@ -32,8 +32,10 @@ all: -include ../../../config-host.mak -include ../config-$(TARGET).mak + +# Get semihosting definitions for user-mode emulation ifeq ($(CONFIG_USER_ONLY),y) --include $(SRC_PATH)/configs/targets/$(TARGET)/default.mak +-include $(SRC_PATH)/configs/targets/$(TARGET).mak endif # for including , in command strings