4.104.114.84.95
Line | |
---|
1 | # |
---|
2 | # Config file for a PowerPC 603e based Vista VMEbus Single Board Computer. |
---|
3 | # This BSP should work with the following models: |
---|
4 | # |
---|
5 | # + Vista SCORE 603e |
---|
6 | # |
---|
7 | # $Id$ |
---|
8 | # |
---|
9 | |
---|
10 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
11 | |
---|
12 | RTEMS_CPU=powerpc |
---|
13 | RTEMS_CPU_MODEL=mpc6xx |
---|
14 | |
---|
15 | # This is the actual bsp directory used during the build process. |
---|
16 | |
---|
17 | RTEMS_BSP_FAMILY=score603e |
---|
18 | |
---|
19 | |
---|
20 | # This contains the compiler options necessary to select the CPU model |
---|
21 | # and (hopefully) optimize for it. |
---|
22 | # |
---|
23 | CPU_CFLAGS = -mcpu=603e -Dmpc603e -Dppc603e -mmultiple -mstring -mstrict-align |
---|
24 | |
---|
25 | # optimize flag: typically -O2 |
---|
26 | CFLAGS_OPTIMIZE_V = -O2 -fno-keep-inline-functions |
---|
27 | |
---|
28 | define make-exe |
---|
29 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
30 | -o $(basename $@).elf $(LINK_OBJS) $(LINK_LIBS) |
---|
31 | $(NM) -g -n $(basename $@).elf > $(basename $@).num |
---|
32 | $(SIZE) $(basename $@).elf |
---|
33 | $(OBJCOPY) -O srec $(basename $@).elf $(basename $@).s1 |
---|
34 | sed -e 's/.$$//' $(basename $@).s1 | \ |
---|
35 | $(PACKHEX) >$(basename $@).exe |
---|
36 | rm -f $(basename $@).s1 |
---|
37 | endef |
---|
38 | |
---|
39 | # Miscellaneous additions go here |
---|
Note: See
TracBrowser
for help on using the repository browser.