| # |
| # ppc64 makefile |
| # |
| # Authors: Andrew Jones <drjones@redhat.com> |
| # |
| bits = 64 |
| |
| ifeq ($(ENDIAN),little) |
| arch_CFLAGS = -mlittle-endian |
| arch_LDFLAGS = -EL |
| else |
| arch_CFLAGS = -mbig-endian |
| arch_LDFLAGS = -EB |
| endif |
| |
| cstart.o = $(TEST_DIR)/cstart64.o |
| reloc.o = $(TEST_DIR)/reloc64.o |
| |
| OBJDIRS += lib/ppc64 |
| cflatobjs += lib/ppc64/stack.o |
| cflatobjs += lib/ppc64/mmu.o |
| cflatobjs += lib/ppc64/opal.o |
| cflatobjs += lib/ppc64/opal-calls.o |
| |
| # ppc64 specific tests |
| tests = $(TEST_DIR)/spapr_vpa.elf |
| |
| include $(SRCDIR)/$(TEST_DIR)/Makefile.common |
| |
| arch_clean: powerpc_clean |
| $(RM) lib/ppc64/.*.d |