|
@@ -103,9 +103,14 @@ ifeq ($(filter %-softmmu, $(TARGET)),)
|
|
# then the target. If there are common tests shared between
|
|
# then the target. If there are common tests shared between
|
|
# sub-targets (e.g. ARM & AArch64) then it is up to
|
|
# sub-targets (e.g. ARM & AArch64) then it is up to
|
|
# $(TARGET_NAME)/Makefile.target to include the common parent
|
|
# $(TARGET_NAME)/Makefile.target to include the common parent
|
|
-# architecture in its VPATH.
|
|
|
|
|
|
+# architecture in its VPATH. However some targets are so minimal we
|
|
|
|
+# can't even build the multiarch tests.
|
|
|
|
+ifneq ($(filter $(TARGET_NAME),aarch64_be),)
|
|
|
|
+-include $(SRC_PATH)/tests/tcg/$(TARGET_NAME)/Makefile.target
|
|
|
|
+else
|
|
-include $(SRC_PATH)/tests/tcg/multiarch/Makefile.target
|
|
-include $(SRC_PATH)/tests/tcg/multiarch/Makefile.target
|
|
-include $(SRC_PATH)/tests/tcg/$(TARGET_NAME)/Makefile.target
|
|
-include $(SRC_PATH)/tests/tcg/$(TARGET_NAME)/Makefile.target
|
|
|
|
+endif
|
|
|
|
|
|
# Add the common build options
|
|
# Add the common build options
|
|
CFLAGS+=-Wall -Werror -O0 -g -fno-strict-aliasing
|
|
CFLAGS+=-Wall -Werror -O0 -g -fno-strict-aliasing
|