source: rtems/bsps/nios2/nios2_iss/config/nios2_iss.cfg @ adb85dd

Last change on this file since adb85dd was adb85dd, checked in by Sebastian Huber <sebastian.huber@…>, on Apr 21, 2018 at 8:22:08 AM

bsps: Move make/custom/* files to bsps

Adjust various build files. Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.

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.