source: rtems/c/src/lib/libbsp/powerpc/haleakala/make/custom/haleakala.cfg @ efdda565

4.115
Last change on this file since efdda565 was efdda565, checked in by Nick Withers <nick.withers@…>, on 08/09/13 at 04:18:17

Use $(EXEEXT) [defaults to "exe"] to generate binaries

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