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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [sw/] [support/] [Makefile.inc] - Diff between revs 69 and 80

Show entire file | Details | Blame | View Log

Rev 69 Rev 80
Line 5... Line 5...
BACKEND_DIR := $(ROOTDIR)/../backend
BACKEND_DIR := $(ROOTDIR)/../backend
SUPPORT_DIR := $(ROOTDIR)/support
SUPPORT_DIR := $(ROOTDIR)/support
DRIVERS_DIR := $(ROOTDIR)/drivers
DRIVERS_DIR := $(ROOTDIR)/drivers
UTILS_DIR := $(ROOTDIR)/utils
UTILS_DIR := $(ROOTDIR)/utils
 
 
OR1200_HDR := $(SUPPORT_DIR)/or1200.h
SUPPORT := $(SUPPORT_DIR)/libsupport.a
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
DRIVERS := $(DRIVERS_DIR)/libdrivers.a
 
 
LINKER_SCRIPT := $(BACKEND_DIR)/orp.ld
LINKER_SCRIPT := $(BACKEND_DIR)/orp.ld
 
 
OR32_TOOL_PREFIX=or32-elf
OR32_TOOL_PREFIX=or32-elf
 
 
include ../../backend/gcc-opt.mk
 
 
 
BIN2HEX = $(UTILS_DIR)/bin2hex
BIN2HEX = $(UTILS_DIR)/bin2hex
 
 
ifdef UART_PRINTF
ifdef UART_PRINTF
GCC_OPT += -DUART_PRINTF
GCC_OPT += -DUART_PRINTF
endif
endif
 
 
all: all_internal
 
 
 
# Global clean rule
 
clean:
 
        @echo "Cleaning `pwd`"
 
        @rm -f *.o *.or32 *.log *.bin *.srec *.hex *.log stdout.txt *.vmem *.asm *.a stdout.txt
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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