4.104.114.84.95
Line | |
---|
1 | # |
---|
2 | # Config file for an Intec Automation SS555 MPC555-based card |
---|
3 | # |
---|
4 | # This file is derived from: |
---|
5 | # |
---|
6 | # Config file for a PowerPC MPC860-based MBX821-001 card. |
---|
7 | # Config file for a PowerPC 403 based helas403 card |
---|
8 | # Config file for MPC860 based Ethernet Comm Board |
---|
9 | # |
---|
10 | |
---|
11 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
12 | |
---|
13 | RTEMS_CPU=powerpc |
---|
14 | GCC_CPU_MODEL=505 |
---|
15 | RTEMS_CPU_MODEL=mpc555 |
---|
16 | |
---|
17 | # This is the actual bsp directory used during the build process. |
---|
18 | RTEMS_BSP_FAMILY=ss555 |
---|
19 | |
---|
20 | # This contains the compiler options necessary to select the CPU model |
---|
21 | # and (hopefully) optimize for it. |
---|
22 | # |
---|
23 | CPU_CFLAGS = -mcpu=$(GCC_CPU_MODEL) -D$(RTEMS_CPU_MODEL) -D$(RTEMS_BSP_FAMILY) |
---|
24 | |
---|
25 | # optimize flag: typically -O2 |
---|
26 | CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions |
---|
27 | |
---|
28 | define make-exe |
---|
29 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(SS555_LDFLAGS) \ |
---|
30 | -o $(basename $@)_sym.exe $(LINK_OBJS) $(LINK_LIBS) |
---|
31 | $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm |
---|
32 | cp $(basename $@)_sym.exe $(basename $@).exe |
---|
33 | $(STRIP) $(basename $@).exe |
---|
34 | $(SIZE) $(basename $@)_sym.exe |
---|
35 | endef |
---|
36 | |
---|
37 | # Miscellaneous additions go here |
---|
38 | |
---|
39 | # Override default start file |
---|
40 | START_BASE= |
---|
41 | |
---|
Note: See
TracBrowser
for help on using the repository browser.