Subversion Repositories HelenOS

Rev

Rev 421 | Rev 430 | 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
293 palkovsky 9
OBJDUMP=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-objdump
287 jermar 10
OBJCOPY=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-objcopy
11
BFD_NAME=elf32-powerpc
12
BFD_ARCH=powerpc
162 decky 13
 
1 jermar 14
ASFLAGS=
15
 
16
DEFS=-DARCH=$(ARCH)
326 palkovsky 17
CFLAGS=$(DEFS) -nostdlib -fno-builtin -O2
289 palkovsky 18
LFLAGS=-M -no-check-sections -N
1 jermar 19
 
20
arch_sources= \
426 jermar 21
	src/arch/console.c \
376 jermar 22
	src/arch/context.S \
23
	src/arch/debug/panic.s \
24
	src/arch/fpu_context.c \
25
	src/arch/ppc32.c \
26
	src/arch/dummy.s \
27
	src/arch/start.S \
28
	src/arch/asm.S \
29
	src/arch/cpu/cpu.c \
30
	src/arch/mm/frame.c \
31
	src/arch/mm/memory_init.c \
32
	src/arch/mm/page.c \
33
	src/arch/fmath.c