OpenCores
URL https://opencores.org/ocsvn/plasma/plasma/trunk

Subversion Repositories plasma

[/] [plasma/] [trunk/] [kernel/] [makefile] - Diff between revs 198 and 201

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 198 Rev 201
Line 1... Line 1...
# The MIPS gcc compiler must use the cygwin1.dll that came with the compiler.
# The MIPS gcc compiler must use the cygwin1.dll that came with the compiler.
 
 
 
# Customize for Linux
 
#CC_X86 = gcc -Wall -O -g
 
#CP = cp
 
#RM = rm -rf
 
#BIN_MIPS = ../../mips/sde/bin
 
#VHDL_DIR = ../vhdl
 
#GCC_MIPS  = $(BIN_MIPS)/gcc $(CFLAGS)
 
#AS_MIPS   = $(BIN_MIPS)/as
 
#LD_MIPS   = $(BIN_MIPS)/ld
 
#DUMP_MIPS = $(BIN_MIPS)/objdump
 
 
 
# Customize for Windows
 
CC_X86 = cl /O1
 
CP = copy
 
RM = del
 
BIN_MIPS = ..\gccmips_elf
 
VHDL_DIR = ..\vhdl
 
GCC_MIPS  = $(BIN_MIPS)\gcc $(CFLAGS)
 
AS_MIPS   = $(BIN_MIPS)\as
 
LD_MIPS   = $(BIN_MIPS)\ld
 
DUMP_MIPS = $(BIN_MIPS)\objdump
 
 
# Use software multiplier (don't use mult.vhd)
# Use software multiplier (don't use mult.vhd)
CFLAGS_SW_MULT = -mno-mul -DUSE_SW_MULT
CFLAGS_SW_MULT = -mno-mul -DUSE_SW_MULT
 
 
# Use 16 fewer registers (make reg_bank.vhd smaller)
# Use 16 fewer registers (make reg_bank.vhd smaller)
CFLAGS_FEW_REGS = -ffixed-t1 -ffixed-t2 -ffixed-t3 -ffixed-t4 -ffixed-t5 -ffixed-t6 -ffixed-t7 -ffixed-t8 -ffixed-t9 -ffixed-s2 -ffixed-s3 -ffixed-s4 -ffixed-s5 -ffixed-s6 -ffixed-s7 -ffixed-s8
CFLAGS_FEW_REGS = -ffixed-t1 -ffixed-t2 -ffixed-t3 -ffixed-t4 -ffixed-t5 -ffixed-t6 -ffixed-t7 -ffixed-t8 -ffixed-t9 -ffixed-s2 -ffixed-s3 -ffixed-s4 -ffixed-s5 -ffixed-s6 -ffixed-s7 -ffixed-s8
 
 
CFLAGS = -O2 -Wall -c -s -I..\tools -msoft-float
CFLAGS = -O2 -Wall -c -s -I..\tools -msoft-float
GCC_MIPS = gcc $(CFLAGS)
 
AS_MIPS = as
 
LD_MIPS = ld
 
DUMP_MIPS = objdump
 
 
 
rtos:
rtos:
        $(AS_MIPS) -o boot.o ..\tools\boot.asm
        $(AS_MIPS) -o boot.o ..\tools\boot.asm
        $(GCC_MIPS) rtos.c
        $(GCC_MIPS) rtos.c
        $(GCC_MIPS) libc.c
        $(GCC_MIPS) libc.c

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.