LOGIN   :::   RECOVER PASS   :::   GET ACCOUNT    
Browse
  • Projects
  • Code (CVS)
  • Forums
  • News
  • Articles
  • Polls
  •  
    OpenCores
  • FAQ
  • CVS HowTo
  • Mission
  • Media
  • Tools
  • Sponsors
  • Mirrors
  • Logos
  • Contact us
  •  
    Tools
  • Search
      
  • Download Cores (CVSGet)
  •  
    More
  • Wishbone
  • Perlilog
  • EDA tools
  • OpenTech CD
  •  
    Navigation: All forums > Cvs-checkins > Message List > Message Post

    Message

    Reply | Reply all
    Date Prev | Date Next | Thread Prev | Thread Next Date Index | Thread Index

    From: cvs at opencores.org<cvs@o...>
    Date: Wed Mar 28 07:41:38 CEST 2007
    Subject: [cvs-checkins] MODIFIED: mlite ...
    Top
    Date: 00/07/03 28:07:41

    Modified: mlite/kernel makefile
    Log:
    Support Linux build environment


    Revision Changes Path
    1.6 mlite/kernel/makefile

    http://www.opencores.org/cvsweb.shtml/mlite/kernel/makefile.diff?r1=1.5&r2=1.6

    (In the diff below, changes in quantity of whitespace are not shown.)

    Index: makefile
    ===================================================================
    RCS file: /cvsroot/rhoads/mlite/kernel/makefile,v
    retrieving revision 1.5
    retrieving revision 1.6
    diff -u -b -r1.5 -r1.6
    --- makefile 11 Mar 2007 00:47:53 -0000 1.5
    +++ makefile 28 Mar 2007 05:41:38 -0000 1.6
    @@ -1,5 +1,27 @@
    # 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)
    CFLAGS_SW_MULT = -mno-mul -DUSE_SW_MULT

    @@ -7,10 +29,6 @@
    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
    -GCC_MIPS = gcc $(CFLAGS)
    -AS_MIPS = as
    -LD_MIPS = ld
    -DUMP_MIPS = objdump

    rtos:
    $(AS_MIPS) -o boot.o ..\tools\boot.asm



     
    Copyright (c) 1999 OPENCORES.ORG. All rights reserved.