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

Subversion Repositories plasma

[/] [plasma/] [trunk/] [kernel/] [makefile] - Diff between revs 406 and 411

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

Rev 406 Rev 411
Line 9... Line 9...
RM = del
RM = del
DWIN32 = -DWIN32
DWIN32 = -DWIN32
BIN_MIPS = ..\gccmips_elf
BIN_MIPS = ..\gccmips_elf
TOOLS_DIR = ..\tools\\
TOOLS_DIR = ..\tools\\
TOOLS2_DIR = ..\tools
TOOLS2_DIR = ..\tools
APP_DIR = ..\App\\
APP_DIR = ..\app\\
LINUX_PWD =
LINUX_PWD =
ALIASING  =
ALIASING  =
GCC_MIPS  = $(BIN_MIPS)\gcc $(CFLAGS)
GCC_MIPS  = $(BIN_MIPS)\gcc $(CFLAGS)
AS_MIPS   = $(BIN_MIPS)\as
AS_MIPS   = $(BIN_MIPS)\as
LD_MIPS   = $(BIN_MIPS)\ld
LD_MIPS   = $(BIN_MIPS)\ld
Line 31... Line 31...
CP = cp
CP = cp
RM = rm -rf
RM = rm -rf
DWIN32 =
DWIN32 =
TOOLS_DIR = ../tools/
TOOLS_DIR = ../tools/
TOOLS2_DIR = ../tools
TOOLS2_DIR = ../tools
APP_DIR = ../App/
APP_DIR = ../app/
LINUX_PWD = ./
LINUX_PWD = ./
ALIASING  = -fno-strict-aliasing
ALIASING  = -fno-strict-aliasing
GCC_MIPS  = $(BIN_MIPS)mips-elf-gcc $(CFLAGS)
#GCC_MIPS  = $(BIN_MIPS)mips-elf-gcc $(CFLAGS)
AS_MIPS   = $(BIN_MIPS)mips-elf-as
#AS_MIPS   = $(BIN_MIPS)mips-elf-as
LD_MIPS   = $(BIN_MIPS)mips-elf-ld
#LD_MIPS   = $(BIN_MIPS)mips-elf-ld
DUMP_MIPS = $(BIN_MIPS)mips-elf-objdump
#DUMP_MIPS = $(BIN_MIPS)mips-elf-objdump
 
GCC_MIPS  = $(BIN_MIPS)mips-uclibc-gcc $(CFLAGS)
 
AS_MIPS   = $(BIN_MIPS)mips-uclibc-as
 
LD_MIPS   = $(BIN_MIPS)mips-uclibc-ld
 
DUMP_MIPS = $(BIN_MIPS)mips-uclibc-objdump
CONVERT_BIN = $(TOOLS_DIR)convert_bin.exe
CONVERT_BIN = $(TOOLS_DIR)convert_bin.exe
#CONVERT_BIN = $(BIN_MIPS)mips-elf-objcopy -I elf32-big -O binary test.axf test.bin
#CONVERT_BIN = $(BIN_MIPS)mips-elf-objcopy -I elf32-big -O binary test.axf test.bin
OBJ = o
OBJ = o
CFLAGS_X86 = -c -DWIN32 -DLINUX
CFLAGS_X86 = -c -DWIN32 -DLINUX
LFLAGS_X86 = -lm
LFLAGS_X86 = -lm
Line 53... Line 57...
 
 
# Use 16 fewer registers (make reg_bank.vhd smaller)
# Use 16 fewer registers (make reg_bank.vhd smaller)
CFLAGS_FEW_REGS = -ffixed-t0 -ffixed-t1 -ffixed-t2 -ffixed-t3 -ffixed-t4 -ffixed-t5 -ffixed-t6 -ffixed-t7 -ffixed-s0 -ffixed-s1 -ffixed-s2 -ffixed-s3 -ffixed-s4 -ffixed-s5 -ffixed-s6 -ffixed-s7
CFLAGS_FEW_REGS = -ffixed-t0 -ffixed-t1 -ffixed-t2 -ffixed-t3 -ffixed-t4 -ffixed-t5 -ffixed-t6 -ffixed-t7 -ffixed-s0 -ffixed-s1 -ffixed-s2 -ffixed-s3 -ffixed-s4 -ffixed-s5 -ffixed-s6 -ffixed-s7
 
 
CFLAGS = -O2 -Wall -c -s -I$(TOOLS2_DIR) -msoft-float -fno-builtin
CFLAGS = -O2 -Wall -c -s -I$(TOOLS2_DIR) -msoft-float -fno-builtin
 
CFLAGS += -fno-pic -mips1 -mno-abicalls
#CFLAGS += $(CFLAGS_SW_MULT)
#CFLAGS += $(CFLAGS_SW_MULT)
#CFLAGS += $(CFLAGS_FEW_REGS)
#CFLAGS += $(CFLAGS_FEW_REGS)
 
 
# Build just the Plasma RTOS for Plasma CPU
# Build just the Plasma RTOS for Plasma CPU
rtos:
rtos:

powered by: WebSVN 2.1.0

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