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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [sw/] [support/] [Makefile.inc] - Diff between revs 36 and 64

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 36 Rev 64
# File to be included in all makefiles
# File to be included in all makefiles
 
 
 
ROOTDIR = ..
 
 
 
BACKEND_DIR := $(ROOTDIR)/../backend
 
SUPPORT_DIR := $(ROOTDIR)/support
 
DRIVERS_DIR := $(ROOTDIR)/drivers
 
UTILS_DIR := $(ROOTDIR)/utils
 
 
 
OR1200_HDR := $(SUPPORT_DIR)/or1200.h
 
BOARD_HDR := $(BACKEND_DIR)/board.h
 
SUPPORT_HDR := $(SUPPORT_DIR)/support.h
 
UART_HDR := $(DRIVERS_DIR)/uart.h
 
ETH_HDR := $(DRIVERS_DIR)/eth.h
 
 
 
RESET_NOCACHE := $(SUPPORT_DIR)/reset-nocache.o
 
RESET_ICDC := $(SUPPORT_DIR)/reset-icdc.o
 
 
 
EXCPT_HNDLR := $(SUPPORT_DIR)/except.o
 
LIB_SUPPORT := $(SUPPORT_DIR)/libsupport.a
 
 
 
SUPPORT := $(EXCPT_HNDLR) $(LIB_SUPPORT)
 
DRIVERS := $(DRIVERS_DIR)/libdrivers.a
 
 
 
LINKER_SCRIPT := $(BACKEND_DIR)/orp.ld
 
 
OR32_TOOL_PREFIX=or32-elf
OR32_TOOL_PREFIX=or32-elf
 
 
#GCC_LIB_OPTS= -lgcc -liberty
GCC_OPT=-mhard-mul -mhard-div -g -nostdlib
 
 
GCC_OPT=-mhard-mul -g -nostdlib
BIN2HEX = $(UTILS_DIR)/bin2hex
 
 
ifdef UART_PRINTF
ifdef UART_PRINTF
GCC_OPT += -DUART_PRINTF
GCC_OPT += -DUART_PRINTF
endif
endif
 
 
FLASH_MEM_HEX_FILE_SUFFIX=-twobyte-sizefirst
all: all_internal
SRAM_MEM_HEX_FILE_SUFFIX=-fourbyte
 
 
 
 
 
# Global clean rule
# Global clean rule
clean:
clean:
        @echo "Cleaning `pwd`"
        @echo "Cleaning `pwd`"
        @rm -f *.o *.or32 *.log *.bin *.srec *.hex *.log stdout.txt *.vmem *.asm *.a stdout.txt
 
 
 

powered by: WebSVN 2.1.0

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