OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [make/] [custom/] [bare.cfg] - Blame information for rev 597

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
#
2
#  Config file for the "bare" BSP
3
#
4
#  $Id: bare.cfg,v 1.2 2001-09-27 12:02:52 chris Exp $
5
#
6
 
7
# This is the actual bsp directory used during the build process.
8
RTEMS_BSP_FAMILY=bare
9
 
10
RTEMS_BSP=bare
11
 
12
RTEMS_CPU_MODEL=$(BARE_CPU_MODEL)
13
 
14
CPU_CFLAGS=$(BARE_CPU_CFLAGS)
15
 
16
include $(RTEMS_ROOT)/make/custom/default.cfg
17
 
18
# optimize flag: typically -0, could use -O4 or -fast
19
# -O4 is ok for RTEMS
20
CFLAGS_OPTIMIZE_V=-O4 -fomit-frame-pointer
21
 
22
#  This section makes the target dependent options file.
23
#  NDEBUG (C library)
24
#     if defined asserts do not generate code.  This is commonly used
25
#     as a command line option.
26
#
27
#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
28
#     do not pause between screens of output in the rtems tests
29
#
30
#  RTEMS_DEBUG (RTEMS)
31
#     If defined, debug checks in RTEMS and support library code are enabled.
32
#
33
 
34
define make-target-options
35
        @echo "/* #define NDEBUG 1 */ "                     >>$@
36
        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
37
        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
38
endef
39
 
40
# this target has no start file
41
START_BASE=
42
 
43
# The following are definitions of make-exe which will work using ld as
44
# is currently required.  It is expected that as of gcc 2.8, the end user
45
# will be able to override parts of the compilers specs and link using gcc.
46
 
47
define make-exe
48
        echo "Cannot do a link with the bare bsp."
49
        echo "#!/bin/sh" > $(basename $@).exe
50
        echo "echo \"Cannot do a link with the bare bsp.\"" >> $(basename $@).exe
51
endef
52
 
53
# Miscellaneous additions go here

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.