diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-29 12:44:39 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-03-29 15:58:39 +0200 |
commit | 36e38426ff40c9ba86d4e66027f3a98747890623 (patch) | |
tree | 736276fb7e853b146001e1a493da8e91f5aac0ed | |
parent | 14b61778bc968d121dd19c4e960d98c441271a7d (diff) | |
download | qemu-36e38426ff40c9ba86d4e66027f3a98747890623.zip qemu-36e38426ff40c9ba86d4e66027f3a98747890623.tar.gz qemu-36e38426ff40c9ba86d4e66027f3a98747890623.tar.bz2 |
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 <alex.bennee@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r-- | tests/tcg/Makefile.target | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/tcg/Makefile.target b/tests/tcg/Makefile.target index ae8004c..acda5bc 100644 --- a/tests/tcg/Makefile.target +++ b/tests/tcg/Makefile.target @@ -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 |