tests/tcg: really fix path to target configuration
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Mar 2022 10:44:39 +0000 (12:44 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 29 Mar 2022 13:58:39 +0000 (15:58 +0200)
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>
tests/tcg/Makefile.target

index ae8004c76ea705faf8f5c79fa442cccbbebc1496..acda5bcec29f81e3c88a484eeb931d2f3f1037e0 100644 (file)
 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