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