4.104.114.84.95
Line | |
---|
1 | # |
---|
2 | # Configuration file for a MVME162LX |
---|
3 | # |
---|
4 | # This is an MVME162 model with ... |
---|
5 | # |
---|
6 | # $Id$ |
---|
7 | # |
---|
8 | |
---|
9 | # |
---|
10 | # All mvme162 configurations share the same base file, only the cpu model |
---|
11 | # differs. |
---|
12 | # |
---|
13 | |
---|
14 | RTEMS_MVME162_MODEL=mvme162lx |
---|
15 | |
---|
16 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
17 | |
---|
18 | RTEMS_CPU=m68k |
---|
19 | RTEMS_CPU_MODEL=m68lc040 |
---|
20 | |
---|
21 | # This is the actual bsp directory used during the build process. |
---|
22 | RTEMS_BSP_FAMILY=mvme162 |
---|
23 | |
---|
24 | # This contains the compiler options necessary to select the CPU model |
---|
25 | # and (hopefully) optimize for it. |
---|
26 | # |
---|
27 | CPU_CFLAGS = -m68040 -msoft-float |
---|
28 | |
---|
29 | # optimize flag: typically -O2 |
---|
30 | CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer |
---|
31 | |
---|
32 | # The following are definitions of make-exe which will work using ld as |
---|
33 | # is currently required. |
---|
34 | |
---|
35 | define make-exe |
---|
36 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
37 | -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS) |
---|
38 | #$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).srec |
---|
39 | #sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \ |
---|
40 | # $(PACKHEX) > $(basename $@).exe |
---|
41 | $(OBJCOPY) -O binary $(basename $@).nxe $(basename $@).exe |
---|
42 | $(NM) -g -n $(basename $@).nxe > $(basename $@).num |
---|
43 | $(SIZE) $(basename $@).nxe |
---|
44 | endef |
---|
45 | |
---|
46 | # Miscellaneous additions go here |
---|
47 | |
---|
48 | # BSP-specific tools |
---|
49 | SLOAD=$(PROJECT_TOOLS)/sload |
---|
Note: See
TracBrowser
for help on using the repository browser.