| 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 | |
| 6 | AARCH64BE_SRC=$(SRC_PATH)/tests/tcg/aarch64_be |
| 7 | VPATH += $(AARCH64BE_SRC) |
| 8 | |
| 9 | AARCH64BE_TEST_SRCS=$(notdir $(wildcard $(AARCH64BE_SRC)/*.c)) |
| 10 | AARCH64BE_TESTS=$(AARCH64BE_TEST_SRCS:.c=) |
| 11 | #MULTIARCH_TESTS = $(MULTIARCH_SRCS:.c=) |
| 12 | |
| 13 | # We need to specify big-endian cflags |
| 14 | CFLAGS +=-mbig-endian -ffreestanding |
| 15 | LDFLAGS +=-nostdlib |
| 16 | |
| 17 | TESTS += $(AARCH64BE_TESTS) |