OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

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

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

Line No. Rev Author Line
1 30 unneback
#
2
#  Custom file for "portsw" -- AMD 29205 based board
3
#
4
#  $Id: portsw.cfg,v 1.2 2001-09-27 12:02:52 chris Exp $
5
#
6
 
7
# Note: This file is broken for sure
8
 
9
include $(RTEMS_ROOT)/make/custom/default.cfg
10
 
11
RTEMS_CPU=a29k
12
RTEMS_CPU_MODEL=a29205
13
 
14
# This is the actual bsp directory used during the build process.
15
RTEMS_BSP_FAMILY=portsw
16
 
17
#  This section makes the target dependent options file.
18
 
19
#  NDEBUG (C library)
20
#     if defined asserts do not generate code.  This is commonly used
21
#     as a command line option.
22
#
23
#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
24
#     do not pause between screens of output in the rtems tests
25
#
26
#  RTEMS_DEBUG (RTEMS)
27
#     If defined, debug checks in RTEMS and support library code are  enabled.
28
#
29
 
30
define make-target-options
31
        @echo "/* #define NDEBUG 1 */ "                     >>$@
32
        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
33
        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
34
endef
35
 
36
 
37
ifeq ($(RTEMS_USE_GCC272),yes)
38
define make-exe
39
        $(LD) $(LDFLAGS) -N -e _start \
40
            -T$(PROJECT_RELEASE)/lib/linkcmds\
41
            -o $(basename $@).exe \
42
            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
43
        $(NM) -n $(basename $@).exe > $(basename $@).num
44
        $(SIZE) $(basename $@).exe
45
endef
46
else
47
define make-exe
48
        $(LINK.c) -Wl,-Map,$(basename $@).map \
49
            $(LDLIBS) -o $@ \
50
            $(LINK_OBJS) $(LINK_LIBS)
51
        $(NM) -n $@ > $(basename $@).num
52
        $(SIZE) $@
53
endef
54
endif
55
 
56
# Miscellaneous additions go here

powered by: WebSVN 2.1.0

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