source: rtems/c/src/lib/libbsp/nios2/nios2_iss/make/custom/nios2_iss.cfg @ 4c83f292

Last change on this file since 4c83f292 was 4c83f292, checked in by Sebastian Huber <sebastian.huber@…>, on Mar 12, 2018 at 7:16:17 AM

bsps: Remove unused RTEMS_CPU_MODEL

This patch is a part of the BSP source reorganization.

Update #3285.

  • Property mode set to 100644
File size: 733 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
11
12include $(RTEMS_ROOT)/make/custom/default.cfg
13
14#  This contains the compiler options necessary to select the CPU model
15#  and (hopefully) optimize for it.
16CPU_CFLAGS = -mno-hw-mul -mno-hw-div
17
18# optimize flag: typically -O2
19# ATM, doesn't work with optimization levels > 0
20CFLAGS_OPTIMIZE_V = -O0 -g
21CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
22
23LDFLAGS = -Wl,--gc-sections
24
25define bsp-post-link
26        $(OBJCOPY) -O binary --strip-all $(basename $@)$(EXEEXT) \
27            -R entry -R exceptions $(basename $@)$(DOWNEXT)
28        $(default-bsp-post-link)
29endef
Note: See TracBrowser for help on using the repository browser.