Subversion Repositories HelenOS

Rev

Rev 293 | Rev 342 | 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= \
199 decky 21
	arch/context.S \
191 decky 22
	arch/debug/panic.s \
160 jermar 23
	arch/fpu_context.c \
210 decky 24
	arch/ppc.c \
161 jermar 25
	arch/dummy.s \
162 decky 26
	arch/start.S \
210 decky 27
	arch/asm.S \
28
	arch/cpu/cpu.c \
162 decky 29
	arch/mm/frame.c \
191 decky 30
	arch/mm/memory_init.c \
166 decky 31
	arch/mm/page.c \
230 cejka 32
	arch/drivers/ofw.c \
33
	arch/fmath.c