source: rtems/bsps/m68k/mvme147s/config/mvme147s.cfg @ adb85dd

5
Last change on this file since adb85dd 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: 680 bytes
Line 
1#
2#  Config file for the mvme147s BSP
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=m68k
8
9#  This contains the compiler options necessary to select the CPU model
10#  and (hopefully) optimize for it.
11CPU_CFLAGS = -mcpu=68030
12
13# optimize flag: typically -O2
14CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
15CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
16
17LDFLAGS = -Wl,--gc-sections
18
19define bsp-post-link
20        $(OBJCOPY) -O srec $(basename $@)$(EXEEXT) $(basename $@).srec
21        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
22            $(PACKHEX) > $(basename $@)$(DOWNEXT)
23        rm -f $(basename $@).srec
24        $(default-bsp-post-link)
25endef
26
27# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.