4.104.115
Last change
on this file since 3b9df019 was
fb2205a,
checked in by Joel Sherrill <joel.sherrill@…>, on 09/09/08 at 16:30:27
|
2008-09-09 Joel Sherrill <joel.sherrill@…>
- leaf.cfg, compilers/gcc-target-default.cfg, custom/bf537Stamp.cfg,
custom/gen5200.cfg, custom/gen83xx.cfg, custom/genmcf548x.cfg,
custom/mbx8xx.cfg, custom/mpc55xx.cfg, custom/nds.cfg,
custom/pc386.cfg, custom/tqm8xx.cfg: Remove use of AM_LDFLAGS. Ensure
LDFLAGS works all the time. Clean up BSPs which defined their own
make-exe rules inappropriately.
|
-
Property mode set to
100644
|
File size:
1023 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 is the actual bsp directory used during the build process. |
---|
13 | RTEMS_BSP_FAMILY=nds |
---|
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) -msoft-float -mstructure-size-boundary=8 |
---|
19 | # CPU_CFLAGS += -mthumb-interwork ## -D __THUMB_INTERWORK__ -mthumb |
---|
20 | |
---|
21 | # optimize flag: typically -O2 |
---|
22 | #CFLAGS_OPTIMIZE_V = -O0 -ggdb |
---|
23 | CFLAGS_OPTIMIZE_V = -O2 |
---|
24 | #CFLAGS_OPTIMIZE_V = -Os |
---|
25 | |
---|
26 | NDSTOOL = $(PROJECT_TOOLS)/ndstool |
---|
27 | |
---|
28 | ifeq ($(RTEMS_MAKEFILE_PATH),) |
---|
29 | COPROC_ELF_PATH = $(abs_builddir)/../../../lib/libbsp/arm/nds/ |
---|
30 | else |
---|
31 | COPROC_ELF_PATH = $(RTEMS_MAKEFILE_PATH)/lib |
---|
32 | endif |
---|
33 | |
---|
34 | define bsp-post-link |
---|
35 | $(default-bsp-post-link) |
---|
36 | $(OBJCOPY) -O binary $(basename $@).exe $(basename $@).bin |
---|
37 | $(NDSTOOL) -c $(basename $@).nds -9 $(basename $@).bin \ |
---|
38 | -7 $(COPROC_ELF_PATH)/coproc.bin |
---|
39 | rm -f $(basename $@).bin |
---|
40 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.