source: rtems/bsps/lm32/lm32_evr/config/lm32_evr.cfg @ 762fa62

5
Last change on this file since 762fa62 was adb85dd, checked in by Sebastian Huber <sebastian.huber@…>, on 04/21/18 at 08:22:08

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: 705 bytes
Line 
1#
2#  Config file for the lm32_evr 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 = lm32
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 =
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.