Subversion Repositories HelenOS

Rev

Rev 161 | Rev 163 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
162 decky 1
PPC_TARGET=ppc-linux-gnu
2
 
157 decky 3
PPC_CC_DIR=/usr/local/ppc/bin
162 decky 4
PPC_BINUTILS_DIR=/usr/local/ppc/bin
1 jermar 5
 
162 decky 6
CC=$(PPC_CC_DIR)/$(PPC_TARGET)-gcc
7
AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as
8
LD=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-ld
9
 
1 jermar 10
ASFLAGS=
11
 
12
DEFS=-DARCH=$(ARCH)
13
CPPFLAGS=$(DEFS) -nostdinc -I../include
14
CFLAGS=$(CPPFLAGS) -nostdlib -fno-builtin -Wmissing-prototypes -Werror -O2
157 decky 15
LFLAGS=-M -no-check-sections -T ../arch/ppc/_link.ld
1 jermar 16
 
17
arch_sources= \
52 vana 18
	arch/powerpc.c \
160 jermar 19
	arch/fpu_context.c \
161 jermar 20
	arch/dummy.s \
162 decky 21
	arch/start.S \
22
	arch/asm.s \
23
	arch/putchar.c \
24
	arch/mm/frame.c \
25
	arch/mm/page.c