source: rtems/make/custom/efi332.cfg @ a902441a

4.104.114.84.95
Last change on this file since a902441a was a902441a, checked in by Joel Sherrill <joel.sherrill@…>, on 03/16/99 at 02:26:50

Patch from John S. Gwynne <jgwynne@…> to correct minor
problems that prevented the 19990302 snapshot from running on
the efi332.

I'm happy to report that rtems-19990302 is running on the efi332
board. I have enclosed a few minor patches below to the efi332 bsp. All
patches are within that library but one. make/custom/efi332.cfg has a
patch to select the right CPU_CFLAGS (at one time -m68332 was a
problem... -mcpu32 or -m68332 work fine now).

  • Property mode set to 100644
File size: 2.2 KB
Line 
1#
2#  Config file for the efi332 BSP
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=m68k
10RTEMS_CPU_MODEL=mcpu32
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=efi332
14
15#  This contains the compiler options necessary to select the CPU model
16#  and (hopefully) optimize for it.
17CPU_CFLAGS = -mcpu32
18
19# optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS
20CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
21
22# This target does NOT support the TCP/IP stack so ignore requests
23# to enable it.
24HAS_NETWORKING=no
25
26# Override default start file
27START_BASE=start332
28
29#  This section makes the target dependent options file.
30#  NDEBUG (C library)
31#     if defined asserts do not generate code.  This is commonly used
32#     as a command line option.
33#
34#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
35#     do not pause between screens of output in the rtems tests
36#
37#  RTEMS_DEBUG (RTEMS)
38#     If defined, debug checks in RTEMS and support library code are enabled.
39
40define make-target-options
41        @echo "/* #define NDEBUG 1 */ "                     >>$@
42        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
43        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
44endef
45
46# The following are definitions of make-exe which will work using ld as
47# is currently required.  It is expected that as of gcc 2.8, the end user
48# will be able to override parts of the compilers specs and link using gcc.
49
50ifeq ($(RTEMS_USE_GCC272),yes)
51define make-exe
52        $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \
53            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
54        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
55        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
56            $(PACKHEX) > $(basename $@).exe
57        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
58        $(SIZE) $(basename $@).nxe
59endef
60else
61define make-exe
62        $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).nxe \
63            $(LINK_OBJS) $(LINK_LIBS)
64        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
65        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
66            $(PACKHEX) > $(basename $@).exe
67        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
68        $(SIZE) $(basename $@).nxe
69endef
70endif
71
72
73# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.