4.104.114.84.95
Line | |
---|
1 | # |
---|
2 | # Config file for a "ODS 68302" BSP |
---|
3 | # |
---|
4 | # Differs from the gen68302 by providing most of the boot code as C |
---|
5 | # code. This allows separate board definitions to be based on C |
---|
6 | # header files. The file is based on the VARIANT defined. |
---|
7 | # |
---|
8 | # $Id$ |
---|
9 | # |
---|
10 | |
---|
11 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
12 | |
---|
13 | RTEMS_CPU=m68k |
---|
14 | RTEMS_CPU_MODEL=m68302 |
---|
15 | |
---|
16 | # This is the actual bsp directory used during the build process. |
---|
17 | RTEMS_BSP_FAMILY=ods68302 |
---|
18 | |
---|
19 | # |
---|
20 | # This contains the compiler options necessary to select the CPU model |
---|
21 | # and (hopefully) optimize for it. |
---|
22 | # |
---|
23 | # 68000+softfloat results in gcc 2.95.2 giving default libraries. |
---|
24 | # CPU_CFLAGS = -m68302 -msoft-float |
---|
25 | CPU_CFLAGS = -m68302 |
---|
26 | |
---|
27 | # optimize flag: typically -O2 |
---|
28 | CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer |
---|
29 | |
---|
30 | # The following are definitions of make-exe which will work using ld as |
---|
31 | # is currently required. |
---|
32 | |
---|
33 | define make-exe |
---|
34 | $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ |
---|
35 | -o $@ \ |
---|
36 | $(LINK_OBJS) $(LINK_LIBS) |
---|
37 | $(NM) -g -n $@ > $(basename $@).num |
---|
38 | $(SIZE) $@ |
---|
39 | endef |
---|
40 | |
---|
41 | # Miscellaneous additions go here |
---|
42 | |
---|
43 | ifeq ($(RTEMS_DEBUGGER),yes) |
---|
44 | LINKCMDS=$(PROJECT_RELEASE)/lib/debugrom |
---|
45 | else |
---|
46 | LINKCMDS=$(PROJECT_RELEASE)/lib/rom |
---|
47 | endif |
---|
48 | |
---|
Note: See
TracBrowser
for help on using the repository browser.