4.104.115
Last change
on this file since fa97db5 was
0441091,
checked in by Sebastian Huber <sebastian.huber@…>, on 04/30/10 at 13:40:13
|
2010-04-30 Sebastian Huber <sebastian.huber@…>
- csb336/make/custom/csb336.cfg,
csb337/make/custom/csb337.cfg, edb7312/make/custom/edb7312.cfg,
gba/make/custom/gba.cfg, gdbarmsim/make/custom/arm920.cfg,
gp32/make/custom/gp32.cfg, gumstix/make/custom/gumstix.cfg,
lpc32xx/make/custom/lpc32xx_phycore.cfg, nds/make/custom/nds.cfg,
rtl22xx/make/custom/rtl22xx.cfg, smdk2410/make/custom/smdk2410.cfg:
Use VFP floating point model.
|
-
Property mode set to
100644
|
File size:
949 bytes
|
Line | |
---|
1 | ## |
---|
2 | ## Config file for Nintendo DS BSP. |
---|
3 | ## |
---|
4 | ## $Id$ |
---|
5 | ## |
---|
6 | |
---|
7 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
8 | |
---|
9 | RTEMS_CPU=arm |
---|
10 | RTEMS_CPU_MODEL=arm9tdmi |
---|
11 | |
---|
12 | # This contains the compiler options necessary to select the CPU model |
---|
13 | # and (hopefully) optimize for it. |
---|
14 | # |
---|
15 | CPU_CFLAGS = -mstructure-size-boundary=8 -mcpu=$(RTEMS_CPU_MODEL) -mfpu=vfp -mfloat-abi=soft |
---|
16 | # CPU_CFLAGS += -mthumb-interwork ## -D __THUMB_INTERWORK__ -mthumb |
---|
17 | |
---|
18 | # optimize flag: typically -O2 |
---|
19 | #CFLAGS_OPTIMIZE_V = -O0 -ggdb |
---|
20 | CFLAGS_OPTIMIZE_V = -O2 |
---|
21 | #CFLAGS_OPTIMIZE_V = -Os |
---|
22 | |
---|
23 | NDSTOOL = $(PROJECT_TOOLS)/ndstool |
---|
24 | |
---|
25 | ifeq ($(RTEMS_MAKEFILE_PATH),) |
---|
26 | COPROC_ELF_PATH = $(abs_builddir)/../../../lib/libbsp/arm/nds/ |
---|
27 | else |
---|
28 | COPROC_ELF_PATH = $(RTEMS_MAKEFILE_PATH)/lib |
---|
29 | endif |
---|
30 | |
---|
31 | define bsp-post-link |
---|
32 | $(default-bsp-post-link) |
---|
33 | $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).bin |
---|
34 | $(NDSTOOL) -c $(basename $@).nds -9 $(basename $@).bin \ |
---|
35 | -7 $(COPROC_ELF_PATH)/coproc.bin |
---|
36 | rm -f $(basename $@).bin |
---|
37 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.