source: mainline/arch/ppc/Makefile.inc@ 470c468

lfn serial ticket/834-toolchain-update topic/msim-upgrade topic/simplify-dev-export
Last change on this file since 470c468 was 393f631, checked in by Martin Decky <martin@…>, 20 years ago

many PPC stuff, platform dependent arch.h header files

  • Property mode set to 100644
File size: 687 bytes
RevLine 
[efa9b73]1PPC_TARGET=ppc-linux-gnu
2
[c913e456]3PPC_CC_DIR=/usr/local/ppc/bin
[efa9b73]4PPC_BINUTILS_DIR=/usr/local/ppc/bin
5
6CC=$(PPC_CC_DIR)/$(PPC_TARGET)-gcc
7AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as
8LD=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-ld
[f761f1eb]9
10ASFLAGS=
11
12DEFS=-DARCH=$(ARCH)
13CPPFLAGS=$(DEFS) -nostdinc -I../include
[9c0a9b3]14CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Werror-implicit-function-declaration -Wmissing-prototypes -Werror -O2
[393f631]15LFLAGS=-M -no-check-sections -N -T ../arch/ppc/_link.ld
[f761f1eb]16
17arch_sources= \
[b524f816]18 arch/context.S \
[10caad0]19 arch/debug/panic.s \
[2e5365f3]20 arch/fpu_context.c \
[393f631]21 arch/ppc.c \
[3902f8a4]22 arch/dummy.s \
[efa9b73]23 arch/start.S \
[393f631]24 arch/asm.S \
25 arch/cpu/cpu.c \
[efa9b73]26 arch/mm/frame.c \
[10caad0]27 arch/mm/memory_init.c \
[6a4177a]28 arch/mm/page.c \
[dfbc229]29 arch/drivers/ofw.c
Note: See TracBrowser for help on using the repository browser.