source: rtems/make/custom/gensh1.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#  gensh1.cfg
3#
4#  default configuration for Hitachi sh1 processors
5#
6#  Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
7#
8#  $Id$
9#
10
11MHZ:=20
12
13include $(RTEMS_ROOT)/make/custom/default.cfg
14
15RTEMS_CPU=sh
16RTEMS_CPU_MODEL=sh7032
17
18# This is the actual bsp directory used during the build process.
19RTEMS_BSP_FAMILY=gensh1
20
21#
22#  This contains the compiler options necessary to select the CPU model
23#  and (hopefully) optimize for it.
24#
25CPU_CFLAGS=-m1
26
27# Use the LIBC support for CYGNUS newlib
28# RTEMS_LIBC_DIR must already be set
29RTEMS_USE_NEWLIB=yes
30
31# Define this to yes if this target supports multiprocessor environments.
32HAS_MP=no
33
34# This target does NOT support the KA9Q TCP/IP stack so ignore requests
35# to enable it.
36HAS_KA9Q=no
37
38# This target does NOT support the TCP/IP stack so ignore requests
39# to enable it.
40HAS_NETWORKING=no
41
42# debug flags: typically none, but we use -O1 as it produces better code
43CFLAGS_DEBUG_V = -O1
44
45# optimize flag: typically -0, could use -O4 or -fast
46# -O4 is ok for RTEMS
47CFLAGS_OPTIMIZE_V = -O4
48
49#  This section makes the target dependent options file.
50
51#  NDEBUG (C library)
52#     if defined asserts do not generate code.  This is commonly used
53#     as a command line option.
54#
55#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
56#     do not pause between screens of output in the rtems tests
57#
58#  RTEMS_DEBUG (RTEMS)
59#     If defined, debug checks in RTEMS and support library code are enabled.
60#
61
62define make-target-options
63        @echo "/* #define NDEBUG 1 */ "                     >>$@
64        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
65        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
66endef
67
68
69# The following are definitions of make-exe which will work using ld as
70# is currently required.  It is expected that as of gcc 2.8, the end user
71# will be able to override parts of the compilers specs and link using gcc.
72
73ifeq ($(RTEMS_USE_GCC272),yes)
74define make-exe
75        $(LD) $(LDFLAGS) -N -e _start \
76            -T$(PROJECT_RELEASE)/lib/linkcmds\
77            -o $(basename $@).exe \
78            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
79        $(NM) -n $(basename $@).exe > $(basename $@).num
80        $(SIZE) $(basename $@).exe
81endef
82else
83define make-exe
84        $(CC) -Wl,-Map,$(basename $@).map \
85            $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
86            $(LINK_OBJS) $(LINK_LIBS)
87        $(NM) -n $(basename $@).exe > $(basename $@).num
88        $(SIZE) $(basename $@).exe
89endef
90endif
91
92# Miscellaneous additions go here
93
94SHGEN=$(PROJECT_ROOT)/c/src/exec/score/tools/sh/$(ARCH)/shgen
Note: See TracBrowser for help on using the repository browser.