source: rtems/c/src/lib/libbsp/powerpc/virtex/make/custom/virtex.cfg @ 0ba2736

4.115
Last change on this file since 0ba2736 was 0ba2736, checked in by Sebastian Huber <sebastian.huber@…>, on 06/18/13 at 14:12:56

bsp/virtex: Replace low-level BSP start code

Use linkcmds.base. Use EABI with small-data area.

  • Property mode set to 100644
File size: 634 bytes
Line 
1#
2#  Config file for a generic PowerPC 405 based card
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=powerpc
8RTEMS_CPU_MODEL=ppc405
9
10#  This contains the compiler options necessary to select the CPU model
11#  and (hopefully) optimize for it.
12#
13CPU_CFLAGS = -mcpu=403 -Dppc405 -meabi -msdata -fno-common
14
15# optimize flag: typically -0, could use -O4 or -fast
16# -O4 is ok for RTEMS
17# NOTE: some level of -O may be actually required by inline assembler
18CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
19
20define bsp-post-link
21        $(default-bsp-post-link)
22        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@)$(DOWNEXT)
23endef
Note: See TracBrowser for help on using the repository browser.