source: rtems/make/custom/ts_386ex.cfg @ 0b28bd9c

4.104.114.84.95
Last change on this file since 0b28bd9c was 16a384cf, checked in by Joel Sherrill <joel.sherrill@…>, on 04/23/99 at 16:35:11

New BSP from Tony R. Ambardar <tonya@…> from the
University of British Columbia. The BSP is for:

Yes, this is the "entry model" of a series of boards from Technologic
Systems. Costs <$200 I believe. They have a WWW page at www.t-systems.com.
I am letting them know about the availability of this BSP too.

  • Property mode set to 100644
File size: 2.9 KB
Line 
1#
2#  Config file for the ts-386ex BSP
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=i386
10RTEMS_CPU_MODEL=i386_nofp
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=ts_386ex
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it. Enables software floating-point
17#  emulation since we don't have a i387 co-processor.
18#
19CPU_CFLAGS =-msoft-float -mno-fp-ret-in-387
20
21# optimize flag: typically -0, could use -O4 or -fast
22# -O4 is ok for RTEMS
23CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
24
25# This target does support the TCP/IP stack so honour requests
26# to enable it.
27HAS_NETWORKING=yes
28
29#  This section makes the target dependent options file.
30
31#  NDEBUG (C library)
32#     if defined asserts do not generate code.  This is commonly used
33#     as a command line option.
34#
35#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
36#     do not pause between screens of output in the rtems tests
37#
38#  RTEMS_DEBUG (RTEMS)
39#     If defined, debug checks in RTEMS and support library code are enabled.
40#
41#  BSP_DEBUG (BSP)
42#     Enables some debugging in the BSP package.
43#
44#  LOAD_RTC_AT_START (BSP)
45#     Initialize RTC and load into system clock at startup. This will break
46#     some tests.
47
48define make-target-options
49        @echo "/* #define NDEBUG 1 */ "                 >>$@
50        @echo "#define RTEMS_TEST_NO_PAUSE 1"           >>$@
51        @echo "#define RTEMS_DEBUG  1"                  >>$@
52        @echo "#define UARTDEBUG  1"                    >>$@
53        @echo "#define BSP_DEBUG  1"                    >>$@
54        @echo "#define LOAD_RTC_AT_START  1"            >>$@
55endef
56
57#  Something like this should produce a map file but this does not work.
58
59#     -Xlinker "-Map $(basename $@).map" $(LINK_OBJS)
60#
61#  This is a good way to get debug information.  The rdmp file is large
62#  though (1.9 Mb for hello) and greatly slows the build process.
63# $(OBJDUMP) -x -m i386 -d $(basename $@).coff > $(basename $@).rdmp
64
65# The following are definitions of make-exe which will work using ld as
66# is currently required.  It is expected that as of gcc 2.8, the end user
67# will be able to override parts of the compilers specs and link using gcc.
68
69ifeq ($(RTEMS_USE_GCC272),yes)
70define make-exe
71        $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).coff \
72            -noinhibit-exec -Map $(basename $@).map \
73            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
74        $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i
75        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
76                  $(PROJECT_TOOLS)/packhex > $(basename $@).exe
77        $(NM) -g -n $(basename $@).coff > $(basename $@).num
78        $(SIZE) $(basename $@).coff
79endef
80else
81define make-exe
82        $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).coff \
83            $(LINK_OBJS) $(LINK_LIBS)
84        $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i
85        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
86                  $(PROJECT_TOOLS)/packhex > $(basename $@).exe
87        $(NM) -g -n $(basename $@).coff > $(basename $@).num
88        $(SIZE) $(basename $@).coff
89endef
90endif
91
92# Miscellaneous additions go here
93
Note: See TracBrowser for help on using the repository browser.