| # Authors: Andrew Jones <drjones@redhat.com> |
| machine = -marm -mfpu=vfp |
| $(error Cannot build arm32 tests as EFI apps) |
| CFLAGS += -mcpu=$(PROCESSOR) |
| CFLAGS += -mno-unaligned-access |
| arch_LDFLAGS = -Ttext=40010000 |
| else ifeq ($(TARGET),kvmtool) |
| arch_LDFLAGS = -Ttext=80008000 |
| $(error Unknown target $(TARGET)) |
| cstart.o = $(TEST_DIR)/cstart.o |
| cflatobjs += lib/arm/spinlock.o |
| cflatobjs += lib/arm/processor.o |
| cflatobjs += lib/arm/stack.o |
| cflatobjs += lib/ldiv32.o |
| cflatobjs += lib/arm/ldivmod.o |
| include $(SRCDIR)/$(TEST_DIR)/Makefile.common |