source: rtems/make/custom/gba.cfg @ 3c5a40f

4.104.115
Last change on this file since 3c5a40f was b1a66fea, checked in by Joel Sherrill <joel.sherrill@…>, on 03/11/08 at 20:50:58

2008-03-11 Joel Sherrill <joel.sherrill@…>

  • custom/av5282.cfg, custom/bare.cfg, custom/default.cfg, custom/gba.cfg, custom/gp32.cfg, custom/i386ex.cfg, custom/idp.cfg, custom/mbx8xx.cfg, custom/mcf5235.cfg, custom/mcp750.cfg, custom/mrm332.cfg, custom/mtx603e.cfg, custom/mvme136.cfg, custom/mvme147.cfg, custom/mvme162.cfg, custom/mvme162lx.cfg, custom/mvme167.cfg, custom/mvme2100.cfg, custom/mvme2307.cfg, custom/mvme3100.cfg, custom/mvme5500.cfg, custom/nios2_iss.cfg, custom/pc386.cfg, custom/posix.cfg, custom/score603e.cfg, custom/sim68000.cfg, custom/simcpu32.cfg, custom/ss555.cfg, custom/ts_386ex.cfg, custom/uC5282.cfg, custom/virtex.cfg: Switch to explicit .exe instead of EXEEXT to get it to work.
  • Property mode set to 100644
File size: 831 bytes
Line 
1#
2#  Config file for Gameboy Advance ARM --
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=arm
10RTEMS_CPU_MODEL=arm7tdmi
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=gba
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18#CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -mthumb -mthumb-interwork -msoft-float -mstructure-size-boundary=8
19CPU_CFLAGS = -mcpu=$(RTEMS_CPU_MODEL) -msoft-float -mstructure-size-boundary=8
20
21# optimize flag: typically -O2
22CFLAGS_OPTIMIZE_V = -O2 -g
23
24# Some GBA simulators want a .gba extension.
25define bsp-post-link
26        $(OBJCOPY) -O binary --remove-section=.comment \
27            --remove-section=.note --strip-unneeded \
28            $(basename $@).exe $(basename $@)$(DOWNEXT)
29        $(default-bsp-post-link)
30endef
Note: See TracBrowser for help on using the repository browser.