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