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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [bootloaders/] [orpmon/] [config.mk] - Diff between revs 353 and 355

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

Rev 353 Rev 355
Line 21... Line 21...
STRIP   = $(CROSS_COMPILE)strip
STRIP   = $(CROSS_COMPILE)strip
OBJCOPY = $(CROSS_COMPILE)objcopy
OBJCOPY = $(CROSS_COMPILE)objcopy
OBJDUMP = $(CROSS_COMPILE)objdump
OBJDUMP = $(CROSS_COMPILE)objdump
RANLIB  = $(CROSS_COMPILE)ranlib
RANLIB  = $(CROSS_COMPILE)ranlib
 
 
CFLAGS += -I$(TOPDIR)/include -DOR1K -Wall -Wstrict-prototypes
XCFLAGS += -I$(TOPDIR)/include -DOR1K -Wall -Wstrict-prototypes
CFLAGS += -Werror-implicit-function-declaration
XCFLAGS += -Werror-implicit-function-declaration
#CFLAGS += -fno-omit-frame-pointer
#XCFLAGS += -fno-omit-frame-pointer -g
CFLAGS += -fno-strength-reduce -O2 -g -pipe -fno-builtin
XCFLAGS += -fno-strength-reduce -O2 -pipe -fno-builtin -fomit-frame-pointer
#CFLAGS += -mhard-mul -mhard-div -msoft-float
#XCFLAGS += -mhard-mul -mhard-div -msoft-float
CFLAGS += -msoft-mul -msoft-div -msoft-float
XCFLAGS += -msoft-mul -msoft-div -msoft-float
CFLAGS += -nostdlib
XCFLAGS += -nostdlib
#CFLAGS += -DDEBUG
#XCFLAGS += -DDEBUG
 
 
 
# For CoreMark:
 
FLAGS_STR ="$(XCFLAGS)"
 
# Add back to CFLAGS
 
CFLAGS += $(XCFLAGS) -DFLAGS_STR=\"$(FLAGS_STR)\"
 
 
LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
LIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)
LDFLAGS+= $(LIBGCC)
LDFLAGS+= $(LIBGCC)
 
 
#########################################################################
#########################################################################

powered by: WebSVN 2.1.0

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