source: rtems/make/custom/efi332.cfg @ 0280cb6

4.104.114.84.95
Last change on this file since 0280cb6 was 0280cb6, checked in by Joel Sherrill <joel.sherrill@…>, on 08/20/98 at 14:39:09

FreeBSD stack compiles for the first time (except libc/strsep.c)

  • Property mode set to 100644
File size: 2.4 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=m68332
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.
17#
18# XXX JRS - my gas does not grok -m68332
19#CPU_CFLAGS = -m68332
20CPU_CFLAGS = -m68020
21
22# optimize flag: typically -0, could use -O4 or -fast, -O4 is ok for RTEMS
23CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
24
25# This target does NOT support the KA9Q TCP/IP stack so ignore requests
26# to enable it.
27HAS_KA9Q=no
28
29# This target does NOT support the TCP/IP stack so ignore requests
30# to enable it.
31HAS_NETWORKING=no
32
33# Override default start file
34START_BASE=start332
35
36#  This section makes the target dependent options file.
37#  NDEBUG (C library)
38#     if defined asserts do not generate code.  This is commonly used
39#     as a command line option.
40#
41#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
42#     do not pause between screens of output in the rtems tests
43#
44#  RTEMS_DEBUG (RTEMS)
45#     If defined, debug checks in RTEMS and support library code are enabled.
46
47define make-target-options
48        @echo "/* #define NDEBUG 1 */ "                     >>$@
49        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
50        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
51endef
52
53# The following are definitions of make-exe which will work using ld as
54# is currently required.  It is expected that as of gcc 2.8, the end user
55# will be able to override parts of the compilers specs and link using gcc.
56
57ifeq ($(RTEMS_USE_GCC272),yes)
58define make-exe
59        $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \
60            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
61        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
62        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
63            $(PROJECT_TOOLS)/packhex > $(basename $@).exe
64        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
65        $(SIZE) $(basename $@).nxe
66endef
67else
68define make-exe
69        $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).nxe \
70            $(LINK_OBJS) $(LINK_LIBS)
71        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
72        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
73            $(PROJECT_TOOLS)/packhex > $(basename $@).exe
74        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
75        $(SIZE) $(basename $@).nxe
76endef
77endif
78
79
80# Miscellaneous additions go here
Note: See TracBrowser for help on using the repository browser.