source: rtems/make/custom/papyrus.cfg @ 1ea9c3f

4.104.114.84.95
Last change on this file since 1ea9c3f was 1ea9c3f, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 6, 1998 at 4:33:48 PM

Purged references to STACK_CHECKER_REPORT_USAGE

  • Property mode set to 100644
File size: 2.3 KB
Line 
1#
2#  Config file for a PowerPC 403 based papyrus card
3#
4#  $Id$
5#
6
7include $(RTEMS_ROOT)/make/custom/default.cfg
8
9RTEMS_CPU=powerpc
10RTEMS_CPU_MODEL=ppc403
11
12# This is the actual bsp directory used during the build process.
13RTEMS_BSP_FAMILY=papyrus
14
15CPU_DEFINES=-DPPC_ABI=PPC_ABI_POWEROPEN \
16   -DPPC_ASM=PPC_ASM_ELF -DPPC_VECTOR_FILE_BASE=0x0100
17
18# This target does NOT support the KA9Q TCP/IP stack so ignore requests
19# to enable it.
20HAS_KA9Q=no
21   
22#  This section makes the target dependent options file.
23
24#  NDEBUG (C library)
25#     if defined asserts do not generate code.  This is commonly used
26#     as a command line option.
27#
28#  RTEMS_TEST_NO_PAUSE (RTEMS tests)
29#     do not pause between screens of output in the rtems tests
30#
31#  STACK_CHECKER_ON (RTEMS support code)
32#     If defined, stack bounds checking is enabled.
33#
34#  RTEMS_DEBUG (RTEMS)
35#     If defined, debug checks in RTEMS and support library code are enabled.
36
37define make-target-options
38        @echo "/* #define NDEBUG 1 */ "                     >>$@
39        @echo "#define RTEMS_TEST_NO_PAUSE 1"               >>$@
40        @echo "/* #define STACK_CHECKER_ON  1 */"           >>$@
41        @echo "/* #define RTEMS_DEBUG  1 */"                >>$@
42endef
43
44#  This contains the compiler options necessary to select the CPU model
45#  and (hopefully) optimize for it.
46#
47CPU_CFLAGS = -mcpu=403
48
49# optimize flag: typically -0, could use -O4 or -fast
50# -O4 is ok for RTEMS
51# NOTE: some level of -O may be actually required by inline assembler
52CFLAGS_OPTIMIZE_V=-O4 -fno-keep-inline-functions
53
54# No start file
55START_BASE=
56
57# The following are definitions of make-exe which will work using ld as
58# is currently required.  It is expected that as of gcc 2.8, the end user
59# will be able to override parts of the compilers specs and link using gcc.
60
61ifeq ($(RTEMS_USE_GCC272),yes)
62# The --defsym arguments define arguments which are required by the linkcmds
63# file which is designed for gcc 2.8
64define make-exe
65        $(LD) $(XLDFLAGS) -T $(LINKCMDS) \
66            --defsym __fini=0 --defsym __init=0 \
67            -o $@ -u atexit -u __vectors -u download_entry \
68            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
69        $(NM) -g -n $@ > $(basename $@).num
70        $(SIZE) $@
71endef
72else
73define make-exe
74        $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe $(LINK_OBJS)
75        $(NM) -g -n $@ > $(basename $@).num
76        $(SIZE) $@
77endef
78endif
79
80# Miscellaneous additions go here
81
82
Note: See TracBrowser for help on using the repository browser.