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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [support/] [Makefile.inc] - Blame information for rev 52

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

Line No. Rev Author Line
1 25 julius
# File to be included in all makefiles
2
 
3
OR32_TOOL_PREFIX=or32-elf
4 33 julius
 
5 52 julius
# If we're using UART for printf output, we need some of the
6
# uClibc functions (string.h mainly), otherwise don't use any
7
# fancy libraries
8
#ifndef UART_PRINTF
9
GCC_LIB_OPTS= -lgcc -liberty
10
#endif
11 45 julius
 
12 52 julius
GCC_OPT=-mhard-mul -mhard-div
13
 
14
ifdef UART_PRINTF
15
GCC_OPT += -DUART_PRINTF
16
endif
17
 
18 45 julius
FLASH_MEM_HEX_FILE_SUFFIX=-twobyte-sizefirst
19
SRAM_MEM_HEX_FILE_SUFFIX=-fourbyte
20 52 julius
 
21
 
22
# Global clean rule
23
clean:
24
        @echo "Cleaning `pwd`"
25
        @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.