1# -*- Mode: makefile -*- 2# 3# A super basic AArch64 BE makefile. As we don't have any big-endian 4# libc available the best we can do is a basic Hello World. 5 6AARCH64BE_SRC=$(SRC_PATH)/tests/tcg/aarch64_be 7VPATH += $(AARCH64BE_SRC) 8 9AARCH64BE_TEST_SRCS=$(notdir $(wildcard $(AARCH64BE_SRC)/*.c)) 10AARCH64BE_TESTS=$(AARCH64BE_TEST_SRCS:.c=) 11#MULTIARCH_TESTS = $(MULTIARCH_SRCS:.c=) 12 13# We need to specify big-endian cflags 14CFLAGS +=-mbig-endian -ffreestanding 15LDFLAGS +=-nostdlib 16 17TESTS += $(AARCH64BE_TESTS) 18