source: rtems/make/custom/nios2_iss.cfg @ 6087a692

4.104.114.95
Last change on this file since 6087a692 was 6087a692, checked in by Joel Sherrill <joel.sherrill@…>, on 03/06/08 at 21:51:01

Make all BSPs use the same rules for invoking gcc and g++ to link an application. Share as much logic as possible for .num file and size information. Let BSPs provide custom rules to tranform executable from linked .exe to downloadable RTEMS Application Loadable File (RALF) .ralf file.

  • Property mode set to 100644
File size: 769 bytes
Line 
1#
2#  Config file for the NIOS2_EB2_1 BSP
3#
4
5# Choices for CPU_MODEL:
6#   tiny (no cache)
7#   standard (instruction cache)
8#   fast (instruction and data cache)
9
10RTEMS_CPU = nios2
11RTEMS_CPU_MODEL = economy
12
13include $(RTEMS_ROOT)/make/custom/default.cfg
14
15# This is the actual bsp directory used during the build process.
16RTEMS_BSP_FAMILY = nios2_iss
17
18#  This contains the compiler options necessary to select the CPU model
19#  and (hopefully) optimize for it.
20CPU_CFLAGS = -mno-hw-mul -mno-hw-div
21
22# optimize flag: typically -O2
23# ATM, doesn't work with optimization levels > 0
24CFLAGS_OPTIMIZE_V = -O0 -g
25
26define bsp-post-link
27        $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
28            -R entry -R exceptions $(basename $@)$(DOWNEXT)
29        $(default-bsp-post-link)
30endef
Note: See TracBrowser for help on using the repository browser.