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

Subversion Repositories minsoc

[/] [minsoc/] [trunk/] [sw/] [support/] [Makefile.inc] - Blame information for rev 74

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 rfajardo
# File to be included in all makefiles
2
 
3 64 rfajardo
ROOTDIR = ..
4
 
5
BACKEND_DIR := $(ROOTDIR)/../backend
6
SUPPORT_DIR := $(ROOTDIR)/support
7
DRIVERS_DIR := $(ROOTDIR)/drivers
8
UTILS_DIR := $(ROOTDIR)/utils
9
 
10
OR1200_HDR := $(SUPPORT_DIR)/or1200.h
11
BOARD_HDR := $(BACKEND_DIR)/board.h
12
SUPPORT_HDR := $(SUPPORT_DIR)/support.h
13
UART_HDR := $(DRIVERS_DIR)/uart.h
14
ETH_HDR := $(DRIVERS_DIR)/eth.h
15
 
16
RESET_NOCACHE := $(SUPPORT_DIR)/reset-nocache.o
17
RESET_ICDC := $(SUPPORT_DIR)/reset-icdc.o
18
 
19
EXCPT_HNDLR := $(SUPPORT_DIR)/except.o
20
LIB_SUPPORT := $(SUPPORT_DIR)/libsupport.a
21
 
22
SUPPORT := $(EXCPT_HNDLR) $(LIB_SUPPORT)
23
DRIVERS := $(DRIVERS_DIR)/libdrivers.a
24
 
25
LINKER_SCRIPT := $(BACKEND_DIR)/orp.ld
26
 
27 2 rfajardo
OR32_TOOL_PREFIX=or32-elf
28
 
29 69 rfajardo
include ../../backend/gcc-opt.mk
30 2 rfajardo
 
31 64 rfajardo
BIN2HEX = $(UTILS_DIR)/bin2hex
32 2 rfajardo
 
33
ifdef UART_PRINTF
34
GCC_OPT += -DUART_PRINTF
35
endif
36
 
37 64 rfajardo
all: all_internal
38 2 rfajardo
 
39
# Global clean rule
40
clean:
41
        @echo "Cleaning `pwd`"
42 64 rfajardo
        @rm -f *.o *.or32 *.log *.bin *.srec *.hex *.log stdout.txt *.vmem *.asm *.a stdout.txt

powered by: WebSVN 2.1.0

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