# | |
# 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 | |
# ppc64 specific tests | |
tests = | |
include $(SRCDIR)/$(TEST_DIR)/Makefile.common | |
arch_clean: powerpc_clean | |
$(RM) lib/ppc64/.*.d |