1# 2# arm makefile 3# 4# Authors: Andrew Jones <drjones@redhat.com> 5# 6bits = 32 7ldarch = elf32-littlearm 8machine = -marm 9 10# stack.o relies on frame pointers. 11KEEP_FRAME_POINTER := y 12 13CFLAGS += $(machine) 14CFLAGS += -mcpu=$(PROCESSOR) 15 16arch_LDFLAGS = -Ttext=40010000 17 18define arch_elf_check = 19endef 20 21cstart.o = $(TEST_DIR)/cstart.o 22cflatobjs += lib/arm/spinlock.o 23cflatobjs += lib/arm/processor.o 24cflatobjs += lib/arm/stack.o 25 26# arm specific tests 27tests = 28 29include $(SRCDIR)/$(TEST_DIR)/Makefile.common 30 31arch_clean: arm_clean 32