URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [bootloaders/] [orpmon/] [config.mk] - Rev 175
Go to most recent revision | Compare with Previous | Blame | View Log
#########################################################################CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \else if [ -x /bin/bash ]; then echo /bin/bash; \else echo sh; fi ; fi)HOSTCC = cc#HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointerHOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fno-omit-frame-pointer -g## Specify the path to the tool chain#TOOL_PREFIX = /tools/or32-uclinux########################################################################### Include the make variables (CC, etc...)#AS = $(CROSS_COMPILE)asLD = $(CROSS_COMPILE)ldCC = $(CROSS_COMPILE)gccAR = $(CROSS_COMPILE)arNM = $(CROSS_COMPILE)nmSTRIP = $(CROSS_COMPILE)stripOBJCOPY = $(CROSS_COMPILE)objcopyOBJDUMP = $(CROSS_COMPILE)objdumpRANLIB = $(CROSS_COMPILE)ranlibCFLAGS += -I$(TOPDIR)/include -DOR1K -Wall -Wstrict-prototypesCFLAGS += -Werror-implicit-function-declaration -fno-omit-frame-pointerCFLAGS += -fno-strength-reduce -O2 -g -pipe -fno-builtin#CFLAGS += -msoft-mul -msoft-div -nostdlibCFLAGS += -nostdlib#CFLAGS += -DDEBUGLIBGCC := $(shell $(CC) $(CFLAGS) -print-libgcc-file-name)LDFLAGS+= $(LIBGCC)#########################################################################export CONFIG_SHELL HOSTCC HOSTCFLAGS CROSS_COMPILE \AS LD CC AR NM STRIP OBJCOPY OBJDUMP \MAKE CFLAGS ASFLAGS#########################################################################%.o: %.S$(CC) $(CFLAGS) -c -o $@ $(CURDIR)/$<%.o: %.c$(CC) $(CFLAGS) -c -o $@ $<%.bin: %.or32or32-rtems-objcopy -O binary $< $@%.img: %.binutils/bin2flimg 1 $< > $@%.srec: %.binutils/bin2srec $< > $@#########################################################################
Go to most recent revision | Compare with Previous | Blame | View Log
