4.104.114.95
Last change
on this file since 6315a29 was
6315a29,
checked in by Till Straumann <strauman@…>, on 12/14/07 at 07:00:10
|
2007-12-14 Till Straumann <strauman@…>
- custom/mvme3100.cfg: Added; new BSP.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | # |
---|
2 | # Config file for the PowerPC 8540 based mvme3100 |
---|
3 | # |
---|
4 | # |
---|
5 | |
---|
6 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
7 | |
---|
8 | RTEMS_CPU=powerpc |
---|
9 | RTEMS_CPU_MODEL=e500 |
---|
10 | RTEMS_PPC_EXCEPTION_PROCESSING_MODEL=new |
---|
11 | |
---|
12 | # This is the actual bsp directory used during the build process. |
---|
13 | RTEMS_BSP_FAMILY=mvme3100 |
---|
14 | |
---|
15 | # This contains the compiler options necessary to select the CPU model |
---|
16 | # and (hopefully) optimize for it. |
---|
17 | # |
---|
18 | # NOTE: NO application code should use the -D symbols |
---|
19 | CPU_CFLAGS = -mcpu=powerpc -msoft-float -D__ppc_generic |
---|
20 | |
---|
21 | # optimize flag: typically -0, could use -O4 or -fast |
---|
22 | # -O4 is ok for RTEMS |
---|
23 | # NOTE: some level of -O may be actually required by inline assembler |
---|
24 | #CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions |
---|
25 | CFLAGS_OPTIMIZE_V = -O4 |
---|
26 | |
---|
27 | # debug flags: typically none, but at least -O1 is required due to this |
---|
28 | # BSP using inlined code |
---|
29 | CFLAGS_DEBUG_V = -O1 |
---|
30 | |
---|
31 | # profile flags: typically none, but at least -O1 is required due to this |
---|
32 | # BSP using inlined code |
---|
33 | CFLAGS_PROFILE_V = -O1 |
---|
34 | |
---|
35 | define make-exe |
---|
36 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(@:%.exe=%.nxe) $(LINK_OBJS) $(LINK_LIBS) |
---|
37 | $(NM) -g -n $(@:%.exe=%.nxe) > $(basename $(@:%.exe=%.nxe)).num |
---|
38 | $(SIZE) $(@:%.exe=%.nxe) |
---|
39 | # test -d ${PROJECT_RELEASE}/bin || mkdir ${PROJECT_RELEASE}/bin |
---|
40 | $(OBJCOPY) -Obinary $(@:%.exe=%.nxe) $(@:%.exe=%)$(LIB_VARIANT).exe |
---|
41 | endef |
---|
42 | |
---|
43 | # Miscellaneous additions go here |
---|
44 | START_BASE = motld_start |
---|
Note: See
TracBrowser
for help on using the repository browser.