source: rtems/c/src/lib/libbsp/m68k/mvme162/make/custom/mvme162.cfg @ a096660

5
Last change on this file since a096660 was a096660, checked in by Ralph Holmes <ralph@…>, on 01/23/16 at 03:21:52

m68k/mvme162: Add per-section compilation and linking support.

For the main BSP:

The size of the sample executables without this option were:

text data bss dec hex filename

85200 1632 11936 98768 181d0 base_sp.exe

100224 1600 11536 113360 1bad0 hello.exe

38432 1216 8016 47664 ba30 minimum.exe

536336 5552 23424 565312 8a040 fileio.exe
104192 1728 12048 117968 1ccd0 nsecs.exe
185520 2000 12528 200048 30d70 paranoia.exe

89424 1632 11968 103024 19270 ticker.exe
87984 1664 15376 105024 19a40 unlimited.exe

851456 21440 19008 891904 d9c00 cxx_iostream.exe
191872 2064 12080 206016 324c0 cdtest.exe
186288 2144 13760 202192 315d0 capture.exe

The size of the sample executables with this option enabled were:

text data bss dec hex filename

77600 1616 11888 91104 163e0 base_sp.exe
91824 1568 11472 104864 199a0 hello.exe
29856 1168 7952 38976 9840 minimum.exe

520432 5520 23088 549040 860b0 fileio.exe

97616 1712 11984 111312 1b2d0 nsecs.exe

177568 1984 12480 192032 2ee20 paranoia.exe

82560 1616 11904 96080 17750 ticker.exe
79760 1632 15312 96704 179c0 unlimited.exe

168256 2064 11728 182048 2c720 cxx_iostream.exe
176112 2000 12000 190112 2e6a0 cdtest.exe
176656 2096 13712 192464 2efd0 capture.exe

For the mvme162lx BSP variant:

The size of the sample executables without this option were:

text data bss dec hex filename

85200 1632 11936 98768 181d0 base_sp.exe

100224 1600 11536 113360 1bad0 hello.exe

38432 1216 8016 47664 ba30 minimum.exe

536336 5552 23424 565312 8a040 fileio.exe
104192 1728 12048 117968 1ccd0 nsecs.exe
185520 2000 12528 200048 30d70 paranoia.exe

89424 1632 11968 103024 19270 ticker.exe
87984 1664 15376 105024 19a40 unlimited.exe

851456 21440 19008 891904 d9c00 cxx_iostream.exe
191872 2064 12080 206016 324c0 cdtest.exe
186288 2144 13760 202192 315d0 capture.exe

The size of the sample executables with this option enabled were:

text data bss dec hex filename

77600 1616 11888 91104 163e0 base_sp.exe
91824 1568 11472 104864 199a0 hello.exe
29856 1168 7952 38976 9840 minimum.exe

520432 5520 23088 549040 860b0 fileio.exe

97616 1712 11984 111312 1b2d0 nsecs.exe

177568 1984 12480 192032 2ee20 paranoia.exe

82560 1616 11904 96080 17750 ticker.exe
79760 1632 15312 96704 179c0 unlimited.exe

168256 2064 11728 182048 2c720 cxx_iostream.exe
176112 2000 12000 190112 2e6a0 cdtest.exe
176656 2096 13712 192464 2efd0 capture.exe

  • Property mode set to 100644
File size: 649 bytes
Line 
1#
2#  Config file for the mvme162 BSP
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=m68k
8
9RTEMS_MVME162_MODEL=mvme162
10RTEMS_CPU_MODEL=m68lc040
11
12#  This contains the compiler options necessary to select the CPU model
13#  and (hopefully) optimize for it.
14#
15
16CPU_CFLAGS = -mcpu=68040 -msoft-float
17
18# optimize flag: typically -O2
19CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
20CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
21
22LDFLAGS = -Wl,--gc-sections
23
24define bsp-post-link
25        $(default-bsp-post-link)
26        $(OBJCOPY) -O binary $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
27endef
28
29# BSP-specific tools
30SLOAD=$(PROJECT_TOOLS)/sload
Note: See TracBrowser for help on using the repository browser.