source: rtems/make/custom/eth_comm.cfg @ 707f5c7

4.104.114.84.95
Last change on this file since 707f5c7 was 707f5c7, checked in by Joel Sherrill <joel.sherrill@…>, on 11/05/99 at 15:47:47

Eliminated references to stack checker related #defines.

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