source: rtems/make/custom/mcp750.cfg @ b86e0899

4.104.114.84.95
Last change on this file since b86e0899 was 4233e1f, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/18/07 at 06:05:27

Cosmetics.

  • Property mode set to 100644
File size: 1.0 KB
Line 
1#
2#  Config file for Motorola MCP750 -- a MPC750 CompactPCI board
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=powerpc
10RTEMS_CPU_MODEL=mpc750
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=motorola_powerpc
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17#
18CPU_CFLAGS = -mcpu=750 -Dmpc750
19
20# optimize flag: typically -O2
21CFLAGS_OPTIMIZE_V = -O4 -mmultiple -mstring -mstrict-align
22
23define make-exe
24        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
25           -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
26        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
27        $(SIZE) $(basename $@).nxe
28        $(OBJCOPY) -O binary -R .comment -S $(basename $@).nxe rtems
29        gzip -vf9 rtems
30        $(LD) -o $@ $(PROJECT_RELEASE)/lib/bootloader.o --just-symbols=$(basename $@).nxe \
31        -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
32        -Map $(basename $@).map && chmod 755 $@
33        rm -f rtems.gz
34endef
35
36# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.